maya test

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-28 16:12:42 -04:00
parent 0a31428a66
commit b5afeacd3d
+21
View File
@@ -544,6 +544,27 @@ pytest = "==3.1.1"
for req in req_list:
assert req in c.out
@pytest.mark.lock
@pytest.mark.requirements
@pytest.mark.complex
@pytest.mark.maya
def test_complex_deps_lock_and_install_properly(self):
with PipenvInstance() as p:
with open(p.pipfile_path, 'w') as f:
contents = """
[packages]
maya = "*"
""".strip()
f.write(contents)
c = p.pipenv('pipenv lock')
assert c.return_code == 0
c = p.pipenv('pipenv install')
assert c.return_code == 0
@pytest.mark.lock
@pytest.mark.deploy
def test_deploy_works(self):