Ensure config path is being updated with _testing correctly during testing

explicit_write_pps_on_exit
jaredgoldman 2023-02-24 17:50:09 -05:00
parent 3fcad16298
commit 1e748f11ef
1 changed files with 1 additions and 1 deletions

View File

@ -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':