mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-04-27 23:40:36 +05:30
Cleanup test
This commit is contained in:
parent
470a719861
commit
bcf24def8b
@ -10,14 +10,12 @@ import org.schabi.newpipe.downloader.DownloaderFactory;
|
|||||||
import org.schabi.newpipe.extractor.NewPipe;
|
import org.schabi.newpipe.extractor.NewPipe;
|
||||||
import org.schabi.newpipe.extractor.exceptions.ParsingException;
|
import org.schabi.newpipe.extractor.exceptions.ParsingException;
|
||||||
|
|
||||||
import java.io.IOException;
|
|
||||||
|
|
||||||
class YoutubeThrottlingParameterDeobfuscationTest {
|
class YoutubeThrottlingParameterDeobfuscationTest {
|
||||||
private static final String RESOURCE_PATH =
|
private static final String RESOURCE_PATH =
|
||||||
DownloaderFactory.RESOURCE_PATH + "services/youtube/extractor/parameterDeobf";
|
DownloaderFactory.RESOURCE_PATH + "services/youtube/extractor/parameterDeobf";
|
||||||
|
|
||||||
@BeforeEach
|
@BeforeEach
|
||||||
void setup() throws IOException {
|
void setup() {
|
||||||
YoutubeTestsUtils.ensureStateless();
|
YoutubeTestsUtils.ensureStateless();
|
||||||
NewPipe.init(DownloaderFactory.getDownloader(RESOURCE_PATH));
|
NewPipe.init(DownloaderFactory.getDownloader(RESOURCE_PATH));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user