1
0
Fork 0
mirror of synced 2024-06-08 13:24:36 +12:00

Add tests for downloader

This commit is contained in:
Serene-Arc 2022-11-21 14:35:57 +10:00
parent 5341d6f12c
commit 1385545e26

View file

@ -232,6 +232,8 @@ def test_cli_download_long(test_args: list[str], tmp_path: Path):
['--subreddit', 'donaldtrump', '-L', 10], # Banned subreddit
['--user', 'djnish', '--user', 'helen_darten', '-m', 'cuteanimalpics', '-L', 10],
['--subreddit', 'friends', '-L', 10],
['-l', 'ijy4ch'],
['-l', 'kw4wjm'],
))
def test_cli_download_soft_fail(test_args: list[str], tmp_path: Path):
runner = CliRunner()