From f61a2eddcaf925b0a6e4620bb31ef571267397b6 Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Fri, 30 Mar 2018 15:36:20 -0400 Subject: [PATCH] Fix resolution for broken tests Signed-off-by: Dan Ryan --- tests/test_pipenv.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_pipenv.py b/tests/test_pipenv.py index 92d7c0a8..d660ce1b 100644 --- a/tests/test_pipenv.py +++ b/tests/test_pipenv.py @@ -504,8 +504,9 @@ setup( @pytest.mark.install @pytest.mark.pin - def test_windows_pinned_pipfile(self, pypi): - with PipenvInstance(pypi=pypi) as p: + @pytest.mark.skipif(not WE_HAVE_INTERNET, reason='requires internet to resolve') + def test_windows_pinned_pipfile(self): + with PipenvInstance() as p: with open(p.pipfile_path, 'w') as f: contents = """ [packages]