From 610f83bb7666ba5d0b3545fd75f076dd507e09a4 Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Sat, 4 Aug 2018 20:13:20 -0400 Subject: [PATCH] fix inclusion of project name in wrong test --- tests/integration/test_dot_venv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_dot_venv.py b/tests/integration/test_dot_venv.py index 70c683d5..26be39da 100644 --- a/tests/integration/test_dot_venv.py +++ b/tests/integration/test_dot_venv.py @@ -41,7 +41,7 @@ def test_reuse_previous_venv(PipenvInstance, pypi): assert c.return_code == 0 assert normalize_drive(p.path) in p.pipenv('--venv').out - + def test_venv_file_exists(PipenvInstance, pypi): """Tests virtualenv creation & package installation when a .venv file exists at the project root. @@ -49,7 +49,7 @@ def test_venv_file_exists(PipenvInstance, pypi): with PipenvInstance(pypi=pypi, chdir=True) as p: file_path = os.path.join(p.path, '.venv') with open(file_path, 'w') as f: - f.write('test-project') + f.write('') with temp_environ(), TemporaryDirectory( prefix='pipenv-', suffix='temp_workon_home'