From b5afeacd3da37afc0cbb6be7752f894167241906 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 28 Sep 2017 16:12:42 -0400 Subject: [PATCH] maya test Signed-off-by: Kenneth Reitz --- tests/test_pipenv.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/tests/test_pipenv.py b/tests/test_pipenv.py index 8cd3c5cb..158c25f7 100644 --- a/tests/test_pipenv.py +++ b/tests/test_pipenv.py @@ -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):