mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Remove old test line
This commit is contained in:
@@ -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)
|
||||
assert venv_loc == Path(venv_path.name)
|
||||
|
||||
Reference in New Issue
Block a user