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 authored and mdimopoulos committed Jul 3, 2024
1 parent d557aad commit 3120c5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fluster/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ 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):
test_suites_dir = os.path.join(sys.prefix, "share", APPNAME)

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

Expand Down

0 comments on commit 3120c5d

Please sign in to comment.