Add vcs tests to account for changes in #807

Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
Dan Ryan
2017-10-07 00:48:57 -04:00
parent a15fa58de0
commit 946e16653b
+3 -1
View File
@@ -121,7 +121,9 @@ class TestUtils:
({'hg': 'https://package.com/package', 'ref': 'v1.2.3'}, True),
('*', False),
({'some_value': 5, 'other_value': object()}, False),
('package', False)
('package', False),
('git+https://github.com/requests/requests.git#egg=requests', True),
('git+git@github.com:requests/requests.git#egg=requests', True)
])
def test_is_vcs(self, entry, expected):
assert pipenv.utils.is_vcs(entry) is expected