1
0
Fork 0
mirror of synced 2024-06-20 19:20:20 +12:00

Speed up test

This commit is contained in:
Serene-Arc 2021-06-24 16:37:25 +10:00
parent 1d187fcf65
commit 640001a7f5

View file

@ -170,7 +170,7 @@ def test_cli_download_user_data_bad_me_unauthenticated(test_args: list[str], tmp
@pytest.mark.reddit
@pytest.mark.skipif(not does_test_config_exist, reason='A test config file is required for integration tests')
@pytest.mark.parametrize('test_args', (
['--subreddit', 'python', '-L', 10, '--search-existing'],
['--subreddit', 'python', '-L', 1, '--search-existing'],
))
def test_cli_download_search_existing(test_args: list[str], tmp_path: Path):
Path(tmp_path, 'test.txt').touch()