This commit is contained in:
parent
f8b1013b68
commit
931a536860
4 changed files with 7 additions and 7 deletions
|
@ -10,11 +10,11 @@
|
|||
<Web>https://mangadex.org</Web>
|
||||
<PageCount>99</PageCount>
|
||||
<LanguageISO>en</LanguageISO>
|
||||
<Format></Format>
|
||||
<Format>cbz</Format>
|
||||
<ScanInformation></ScanInformation>
|
||||
<SeriesGroup></SeriesGroup>
|
||||
<BlackAndWhite>Unknown</BlackAndWhite>
|
||||
<Manga>Yes</Manga>
|
||||
<AgeRating>Unknown</AgeRating>
|
||||
<Manga>Yes</Manga>
|
||||
<Notes>Downloaded with https://github.com/olofvndrhr/manga-dlp</Notes>
|
||||
</ComicInfo>
|
|
@ -8,10 +8,10 @@ def test_metadata_creation():
|
|||
metadata_path = Path("tests/")
|
||||
metadata_file = Path("tests/ComicInfo.xml")
|
||||
metadata = {
|
||||
"Volume": "1",
|
||||
"Volume": 1,
|
||||
"Number": "2",
|
||||
"PageCount": "99",
|
||||
"Count": "10",
|
||||
"PageCount": 99,
|
||||
"Count": 10,
|
||||
"LanguageISO": "en",
|
||||
"Title": "title1",
|
||||
"Series": "series1",
|
||||
|
|
|
@ -256,7 +256,7 @@ def test_chapter_metadata():
|
|||
assert (manga_name, chapter_name, chapter_volume, chapter_num, chapter_url) == (
|
||||
"Komi-san wa Komyushou Desu",
|
||||
"A Normal Person",
|
||||
"1",
|
||||
1,
|
||||
"1",
|
||||
"https://mangadex.org/title/a96676e5-8ae2-425e-b549-7f15dd34a6d8",
|
||||
)
|
||||
|
|
|
@ -107,7 +107,7 @@ def test_full_with_input_folder(wait_20s):
|
|||
download_path = "tests"
|
||||
manga_path = Path("tests/Shikimori's Not Just a Cutie")
|
||||
chapter_path = Path("tests/Shikimori's Not Just a Cutie/Ch. 1")
|
||||
metadata_path = Path("tests/Shikimori's Not Just a Cutie/ComicInfo.xml")
|
||||
metadata_path = Path("tests/Shikimori's Not Just a Cutie/Ch. 1/ComicInfo.xml")
|
||||
command_args = f"-u {url_uuid} -l {language} -c {chapters} --path {download_path} --format '{file_format}' --debug --wait 2"
|
||||
script_path = "manga-dlp.py"
|
||||
os.system(f"python3 {script_path} {command_args}")
|
||||
|
|
Loading…
Reference in a new issue