mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
do not depend on existence of /tmp directory
This commit is contained in:
parent
13ef33ed64
commit
437f45a97f
@ -93,9 +93,10 @@ def test_root_resists_cwd():
|
|||||||
conf.parse_args([])
|
conf.parse_args([])
|
||||||
assert conf.root_path == cwd
|
assert conf.root_path == cwd
|
||||||
|
|
||||||
os.chdir(previous)
|
os.chdir("..")
|
||||||
assert conf.root_path == cwd
|
assert conf.root_path == cwd
|
||||||
os.environ["INVOKEAI_ROOT"] = previous
|
os.environ["INVOKEAI_ROOT"] = previous
|
||||||
|
os.chdir(cwd)
|
||||||
|
|
||||||
|
|
||||||
def test_type_coercion():
|
def test_type_coercion():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user