mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-27 07:44:20 +02:00
Merge pull request #934 from cyian-1756/spankbangUnitTest
Made the SpankBangRipperTest only run locally and not in the CI
This commit is contained in:
@@ -4,13 +4,15 @@ import java.io.IOException;
|
|||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
|
||||||
import com.rarchives.ripme.ripper.rippers.video.SpankbangRipper;
|
import com.rarchives.ripme.ripper.rippers.video.SpankbangRipper;
|
||||||
import com.rarchives.ripme.tst.ripper.rippers.RippersTest;
|
import com.rarchives.ripme.utils.Utils;
|
||||||
|
|
||||||
public class SpankBangRipperTest extends RippersTest {
|
public class SpankBangRipperTest extends RippersTest {
|
||||||
|
|
||||||
public void testSpankBangVideo() throws IOException {
|
public void testSpankBangVideo() throws IOException {
|
||||||
SpankbangRipper ripper = new SpankbangRipper(new URL("https://spankbang.com/2a7fh/video/mdb901")); //most popular video of all time on site; should stay up
|
// This test fails on the CI so we skip it unless running locally
|
||||||
testRipper(ripper);
|
if (Utils.getConfigBoolean("test.run_flaky_tests", false)) {
|
||||||
|
SpankbangRipper ripper = new SpankbangRipper(new URL("https://spankbang.com/2a7fh/video/mdb901")); //most popular video of all time on site; should stay up
|
||||||
|
testRipper(ripper);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user