Skip to content

Commit

Permalink
uninstalled: Using correct test_suites_dir with installed in a python…
Browse files Browse the repository at this point in the history
… venv
  • Loading branch information
rgonzalezfluendo committed Jun 26, 2024
1 parent ceb009c commit 105fcfe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fluster/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ def _get_installed_dirs(self) -> Tuple[str, str]:
break
else:
test_suites_dir = os.path.join(user_data_dir, TEST_SUITES_DIR)
if not os.path.exists(test_suites_dir) and "VIRTUAL_ENV" in os.environ:
test_suites_dir = os.path.join(
os.environ["VIRTUAL_ENV"], "share", APPNAME
)

resources_dir = os.path.join(user_data_dir, RESOURCES_DIR)

Expand Down

0 comments on commit 105fcfe

Please sign in to comment.