Skip to content

Commit 8b10a39

Browse files
committed
Drop test_pip_package
This was only used to test some DeprecationWarning
1 parent 28ee609 commit 8b10a39

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

test/test_modules.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -550,21 +550,6 @@ def test_command_execution(host):
550550
assert host.run("true").succeeded
551551

552552

553-
def test_pip_package(host):
554-
with pytest.warns(DeprecationWarning):
555-
assert host.pip_package.get_packages()["pip"]["version"] == "20.3.4"
556-
pkg = host.pip_package.get_packages(pip_path="/v/bin/pip")["requests"]
557-
assert pkg["version"].startswith("1.")
558-
with pytest.warns(DeprecationWarning):
559-
outdated = host.pip_package.get_outdated_packages(pip_path="/v/bin/pip")[
560-
"requests"
561-
]
562-
assert outdated["current"] == pkg["version"]
563-
assert int(outdated["latest"].split(".")[0]) >= 1
564-
with pytest.warns(DeprecationWarning):
565-
assert host.pip_package.check().succeeded
566-
567-
568553
def test_pip(host):
569554
# get_packages
570555
assert host.pip.get_packages()["pip"]["version"] == "20.3.4"

0 commit comments

Comments
 (0)