Fix some wrong pytest marks
This commit is contained in:
@@ -10,7 +10,7 @@ from bulkredditdownloader.site_downloaders.youtube import Youtube
|
|||||||
|
|
||||||
@pytest.mark.online
|
@pytest.mark.online
|
||||||
@pytest.mark.reddit
|
@pytest.mark.reddit
|
||||||
@pytest.mark.long
|
@pytest.mark.slow
|
||||||
@pytest.mark.parametrize(('test_submission_id', 'expected_hash'), (
|
@pytest.mark.parametrize(('test_submission_id', 'expected_hash'), (
|
||||||
('ltnoqp', '468136300a106c67f1463a7011a6db4a'),
|
('ltnoqp', '468136300a106c67f1463a7011a6db4a'),
|
||||||
('m2l5oo', 'a70512f7782f13922258297bb12055d9'),
|
('m2l5oo', 'a70512f7782f13922258297bb12055d9'),
|
||||||
|
|||||||
@@ -153,10 +153,10 @@ def test_cli_download_download_filters(test_args: list[str], tmp_path: Path):
|
|||||||
|
|
||||||
@pytest.mark.online
|
@pytest.mark.online
|
||||||
@pytest.mark.reddit
|
@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.skipif(Path('test_config.cfg') is False, reason='A test config file is required for integration tests')
|
||||||
@pytest.mark.parametrize('test_args', (
|
@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):
|
def test_cli_download_long(test_args: list[str], tmp_path: Path):
|
||||||
runner = CliRunner()
|
runner = CliRunner()
|
||||||
|
|||||||
Reference in New Issue
Block a user