This commit is contained in:
q0w 2022-04-21 00:46:05 +03:00
parent e615c039ef
commit a37ff041c9
1 changed files with 2 additions and 3 deletions

View File

@ -573,14 +573,13 @@ def test_install_quiet(script: PipTestEnvironment, data: TestData) -> None:
assert result.stderr == ""
@pytest.mark.network
def test_install_quiet_log(script: PipTestEnvironment, data: TestData) -> None:
"""
Test suppressing the progress bar with --quiet and --log.
"""
logfile = script.scratch_path / "log"
result = script.pip(
"install", "-qqq", "--find-links", data.find_links, "--log", logfile, "mypy"
)
result = script.pip("install", "-qqq", "setuptools==62.0.0", "--log", logfile)
assert result.stdout == ""
assert result.stderr == ""