Skip to content
Permalink
Browse files

Integration test initialization: Fail hard on missing .venv

Change-Id: I40bd2d57c79a26bee34e2d2c79523049063f069c
  • Loading branch information
LarsMichelsen committed Jul 9, 2019
1 parent b7f8691 commit 3260c0584b6cdfe49c20b3205e4dbe1713cad0dd
Showing with 2 additions and 5 deletions.
  1. +2 −5 tests/testlib/__init__.py
@@ -61,11 +61,8 @@ def cme_path():


def virtualenv_path():
try:
venv = subprocess.check_output(["pipenv", "--bare", "--venv"])
return pathlib.Path(venv.decode("utf-8").rstrip("\n"))
except subprocess.CalledProcessError:
return None
venv = subprocess.check_output(["pipenv", "--bare", "--venv"])
return pathlib.Path(venv.decode("utf-8").rstrip("\n"))


def current_branch_name():

0 comments on commit 3260c05

Please sign in to comment.
You can’t perform that action at this time.