Fix duplicate test name

This commit is contained in:
Serene-Arc 2021-04-05 21:32:39 +10:00 committed by Ali Parlakci
parent 2384c03170
commit b255271016

View File

@ -262,7 +262,7 @@ def test_cli_download_use_default_config(tmp_path: Path):
@pytest.mark.parametrize('test_args', ( @pytest.mark.parametrize('test_args', (
['-l', 'm2601g', '--exclude-id', 'm2601g'], ['-l', 'm2601g', '--exclude-id', 'm2601g'],
)) ))
def test_cli_download_links(test_args: list[str], tmp_path: Path): def test_cli_download_links_exclusion(test_args: list[str], tmp_path: Path):
runner = CliRunner() runner = CliRunner()
test_args = ['download', str(tmp_path), '-v', '--config', 'test_config.cfg'] + test_args test_args = ['download', str(tmp_path), '-v', '--config', 'test_config.cfg'] + test_args
result = runner.invoke(cli, test_args) result = runner.invoke(cli, test_args)