Make test assertions match the test name more closely

This updates
test_editable_vcs_install_in_pipfile_with_dependency_resolution_doesnt_traceback
to check (a) that dependency resolution was triggered, and (b) that
there was no traceback (rather than just the specific traceback we are
currently seeing).
This commit is contained in:
Daniel Watkins
2017-12-22 17:14:17 -05:00
parent 3d7347f8e4
commit b0111b5dc9
+2 -2
View File
@@ -456,8 +456,8 @@ requests = {git = "https://github.com/requests/requests.git", editable = true}
f.write(contents)
c = p.pipenv('install')
assert c.return_code == 1
assert 'FileNotFoundError' not in c.out
assert 'FileNotFoundError' not in c.err
assert "Your dependencies could not be resolved" in c.err
assert 'Traceback' not in c.err
@pytest.mark.run