File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -550,21 +550,6 @@ def test_command_execution(host):
550
550
assert host .run ("true" ).succeeded
551
551
552
552
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
-
568
553
def test_pip (host ):
569
554
# get_packages
570
555
assert host .pip .get_packages ()["pip" ]["version" ] == "20.3.4"
You can’t perform that action at this time.
0 commit comments