diff --git a/fluster/main.py b/fluster/main.py index 923d04c7..8a7071b0 100644 --- a/fluster/main.py +++ b/fluster/main.py @@ -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)