mirror of https://github.com/pypa/pip
Fix test
This commit is contained in:
parent
e615c039ef
commit
a37ff041c9
|
@ -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 == ""
|
||||
|
||||
|
|
Loading…
Reference in New Issue