fix test
All checks were successful
ci/woodpecker/push/tests Pipeline was successful

This commit is contained in:
Ivan Schaller 2022-06-18 00:01:55 +02:00
parent a11c9438e7
commit c4f6ac727c

View file

@ -1,8 +1,10 @@
import shutil
from pathlib import Path
import pytest
import requests
import mangadlp.downloader as downloader
import shutil
def test_downloader():
@ -21,7 +23,7 @@ def test_downloader():
images.append(file.name)
print(images)
assert images == ["001", "002", "003", "004", "005"]
assert images == ["001.png", "002.png", "003.png", "004.png", "005.png"]
# cleanup
shutil.rmtree(chapter_path, ignore_errors=True)