From fed71c78cf4fc3b6fa9ec7fed9f5b8b2cde21bcc Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Sat, 4 Aug 2018 19:33:26 -0400 Subject: [PATCH] Remove old test line --- tests/integration/test_dot_venv.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/integration/test_dot_venv.py b/tests/integration/test_dot_venv.py index 6c9b31e4..70c683d5 100644 --- a/tests/integration/test_dot_venv.py +++ b/tests/integration/test_dot_venv.py @@ -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('') + f.write('test-project') with temp_environ(), TemporaryDirectory( prefix='pipenv-', suffix='temp_workon_home' @@ -67,7 +67,6 @@ def test_venv_file_exists(PipenvInstance, pypi): venv_loc = Path(line.split(":", 1)[-1].strip()) assert venv_loc is not None assert venv_loc.joinpath(".project").exists() - assert Path(venv_loc.name) == Path(venv_name) @pytest.mark.dotvenv @@ -92,4 +91,4 @@ def test_venv_file_with_path(PipenvInstance, pypi): venv_loc = Path(line.split(":", 1)[-1].strip()) assert venv_loc is not None assert venv_loc.joinpath(".project").exists() - assert venv_loc == Path(venv_path.name) \ No newline at end of file + assert venv_loc == Path(venv_path.name)