From 884ddc25522513f8774f9c12726f54dd47d6fdc9 Mon Sep 17 00:00:00 2001 From: jaredgoldman Date: Fri, 24 Feb 2023 17:50:09 -0500 Subject: [PATCH] Ensure config path is being updated with _testing correctly during testing --- piker/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/config.py b/piker/config.py index c11ca3f1..b1b2eedc 100644 --- a/piker/config.py +++ b/piker/config.py @@ -79,7 +79,7 @@ def get_app_dir(app_name, roaming=True, force_posix=False): # outside of the users filesystem if "pytest" in sys.modules: log.info("TESTING") - os.path.join(app_name, TEST_CONFIG_DIR_PATH) + app_name = os.path.join(app_name, TEST_CONFIG_DIR_PATH) # if WIN: if platform.system() == 'Windows':