Ensure config path is being updated with _testing correctly during testing

paper_trade_improvements_rebase
jaredgoldman 2023-02-24 17:50:09 -05:00
parent 4d32c6f6a2
commit 884ddc2552
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 # outside of the users filesystem
if "pytest" in sys.modules: if "pytest" in sys.modules:
log.info("TESTING") 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 WIN:
if platform.system() == 'Windows': if platform.system() == 'Windows':