Skip to content

Commit

Permalink
use shorter chapter for tests [CI SKIP]
Browse files Browse the repository at this point in the history
  • Loading branch information
olofvndrhr committed May 13, 2022
1 parent 5bbd8a4 commit da651bf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/test_21_full.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@


def test_full_mangadex():
url = "https://mangadex.org/title/a96676e5-8ae2-425e-b549-7f15dd34a6d8/komi-san-wa-komyushou-desu"
url = "https://mangadex.org/title/0aea9f43-d4a9-4bf7-bebc-550a512f9b95/shikimori-s-not-just-a-cutie"
lang = "en"
chapters = "1"
readlist = ""
list_chapters = False
nocbz = False
forcevol = False
download_path = "tests"
download_wait = 1
download_wait = 0.5
verbose = True
manga_path = Path("tests/Komi-san wa Komyushou Desu")
chapter_path = Path("tests/Komi-san wa Komyushou Desu/Ch. 1 - A Normal Person.cbz")
manga_path = Path("tests/Shikimori's Not Just a Cutie")
chapter_path = Path("tests/Shikimori's Not Just a Cutie/Ch. 1.cbz")
MdlpMain.main(
url,
lang,
Expand All @@ -37,12 +37,12 @@ def test_full_mangadex():


def test_full_with_input():
url = "https://mangadex.org/title/a96676e5-8ae2-425e-b549-7f15dd34a6d8/komi-san-wa-komyushou-desu"
url = "https://mangadex.org/title/0aea9f43-d4a9-4bf7-bebc-550a512f9b95/shikimori-s-not-just-a-cutie"
lang = "en"
chapters = "1"
download_path = "tests"
manga_path = Path("tests/Komi-san wa Komyushou Desu")
chapter_path = Path("tests/Komi-san wa Komyushou Desu/Ch. 1 - A Normal Person.cbz")
manga_path = Path("tests/Shikimori's Not Just a Cutie")
chapter_path = Path("tests/Shikimori's Not Just a Cutie/Ch. 1.cbz")
command_args = f"-u {url} -l {lang} -c {chapters} --path {download_path}"
script_path = "manga-dlp.py"
os.system(f"python3 {script_path} {command_args}")
Expand Down

0 comments on commit da651bf

Please sign in to comment.