1
0
mirror of https://github.com/fedora-python/tox-current-env.git synced 2024-12-25 01:26:13 +01:00

Use --print-deps-to=- in test_noquiet_installed_packages

This commit is contained in:
Petr Viktorin 2020-09-15 16:28:59 +02:00
parent 9f3d66aa20
commit 6b48528fb6

View File

@ -351,7 +351,7 @@ def test_print_deps_without_python_command(tmp_path, print_deps_stdout_arg):
assert result.stdout == expected assert result.stdout == expected
@pytest.mark.parametrize("flag", [None, "--print-deps-only", "--current-env"]) @pytest.mark.parametrize("flag", [None, "--print-deps-to=-", "--current-env"])
def test_noquiet_installed_packages(flag): def test_noquiet_installed_packages(flag):
flags = (flag,) if flag else () flags = (flag,) if flag else ()
result = tox("-e", NATIVE_TOXENV, *flags, quiet=False, check=False) result = tox("-e", NATIVE_TOXENV, *flags, quiet=False, check=False)