1
0
Fork 0
mirror of synced 2024-06-11 14:54:38 +12:00

Fix some wrong pytest marks

This commit is contained in:
Serene-Arc 2021-03-13 15:11:59 +10:00 committed by Ali Parlakci
parent 8e3e5a62d9
commit a93813ca45
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ from bulkredditdownloader.site_downloaders.youtube import Youtube
@pytest.mark.online
@pytest.mark.reddit
@pytest.mark.long
@pytest.mark.slow
@pytest.mark.parametrize(('test_submission_id', 'expected_hash'), (
('ltnoqp', '468136300a106c67f1463a7011a6db4a'),
('m2l5oo', 'a70512f7782f13922258297bb12055d9'),

View file

@ -153,10 +153,10 @@ def test_cli_download_download_filters(test_args: list[str], tmp_path: Path):
@pytest.mark.online
@pytest.mark.reddit
@pytest.mark.long
@pytest.mark.slow
@pytest.mark.skipif(Path('test_config.cfg') is False, reason='A test config file is required for integration tests')
@pytest.mark.parametrize('test_args', (
['--subreddit', 'all', '-L', '100'],
['--subreddit', 'all', '-L', '100', '--sort', 'new'],
))
def test_cli_download_long(test_args: list[str], tmp_path: Path):
runner = CliRunner()