delete a wonky test

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-27 12:42:48 -04:00
parent ec9311f9ff
commit 1da07992db
-23
View File
@@ -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):