Ensure config path is being updated with _testing correctly during testing
parent
4d32c6f6a2
commit
884ddc2552
|
@ -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':
|
||||||
|
|
Loading…
Reference in New Issue