From 1da07992db9c96bfc0d51d448bad33ee272fa98e Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 27 Sep 2017 12:42:48 -0400 Subject: [PATCH] delete a wonky test Signed-off-by: Kenneth Reitz --- tests/test_pipenv.py | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/tests/test_pipenv.py b/tests/test_pipenv.py index 637e5d91..fda59302 100644 --- a/tests/test_pipenv.py +++ b/tests/test_pipenv.py @@ -514,29 +514,6 @@ requests = {version = "*"} assert 'urllib3' in p.lockfile['default'] assert 'pysocks' in p.lockfile['default'] - @pytest.mark.code - @pytest.mark.virtualenv - @pytest.mark.parametrize('shell, extension', [ - ('/bin/bash', ''), - ('/bin/fish', '.fish'), - ('/bin/csh', '.csh'), - ('/bin/unknown', '')] - ) - @pytest.mark.skipif(os.name == 'nt', reason="Not supported to windows") - def test_activate_virtualenv(self, shell, extension): - - orig_shell = os.environ['SHELL'] - os.environ['SHELL'] = shell - - # Get standard activation command for bash - command = activate_virtualenv() - - # Return environment to initial shell config. - os.environ['SHELL'] = orig_shell - - venv = Project().virtualenv_location - assert command == 'source {0}/bin/activate{1}'.format(venv, extension) - @pytest.mark.code @pytest.mark.virtualenv def test_activate_virtualenv_no_source(self):