mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #846 from techalchemy/add-utils-vcs-test
Add vcs tests to account for changes in #807
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user