Fix tests

This commit is contained in:
Donald Stufft 2015-03-16 08:44:02 -04:00
parent 734bfb8e4c
commit cc7d178712
1 changed files with 3 additions and 1 deletions

View File

@ -112,7 +112,9 @@ class TestInstallRequirement(object):
def test_repr(self):
req = InstallRequirement.from_line('simple==0.1')
assert repr(req) == '<InstallRequirement object: simple==0.1>'
assert repr(req) == (
'<InstallRequirement object: simple==0.1 editable=False>'
)
def test_invalid_wheel_requirement_raises(self):
with pytest.raises(InvalidWheelFilename):