Add additional comparison for markers

Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
Dan Ryan
2018-06-30 22:32:59 -04:00
parent 99b0a75b59
commit 547110b7b4
+2 -1
View File
@@ -149,7 +149,8 @@ def test_resolver_unique_markers(PipenvInstance, pypi):
assert 'yarl' in p.lockfile['default']
yarl = p.lockfile['default']['yarl']
assert 'markers' in yarl
assert yarl['markers'] == "python_version in '3.4, 3.5, 3.6'"
# Two possible marker sets are ok here
assert yarl['markers'] in ["python_version in '3.4, 3.5, 3.6'", "python_version >= '3.4.1'"]
@pytest.mark.project