mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Fix test error
This commit is contained in:
+1
-1
@@ -2642,7 +2642,7 @@ def do_check(
|
||||
raise exceptions.JSONParseError(c.stdout, c.stderr)
|
||||
except Exception:
|
||||
raise exceptions.PipenvCmdError(cmd_list_to_shell(c.args), c.stdout, c.stderr, c.returncode)
|
||||
for (package, resolved, installed, description, vuln) in results:
|
||||
for (package, resolved, installed, description, vuln, *_) in results:
|
||||
click.echo(
|
||||
"{}: {} {} resolved ({} installed)!".format(
|
||||
crayons.normal(vuln, bold=True),
|
||||
|
||||
@@ -142,7 +142,8 @@ def test_pipenv_graph_reverse(PipenvInstance):
|
||||
@flaky
|
||||
def test_pipenv_check(PipenvInstance):
|
||||
with PipenvInstance() as p:
|
||||
p.pipenv('install requests==1.0.0')
|
||||
c = p.pipenv('install requests==1.0.0')
|
||||
assert c.returncode == 0
|
||||
c = p.pipenv('check')
|
||||
assert c.returncode != 0
|
||||
assert 'requests' in c.stdout
|
||||
|
||||
Reference in New Issue
Block a user