mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
842b57e57c
- Add patched rootdir fixture to all config tests. I think this isn't strictly necessary but it does ensure that any config tests that need to write files don't accidentally write to user data locations. - Be more careful when calling `get_config()` in the tests, by clearing the LRU cache before and after. This ensures a test doesn't reference the singleton config created by a previously run test. - Add test for env var parsing. - Add test for config writing in the context of `get_config()`. This is effectively a mini e2e test for the config lifecycle. |
||
---|---|---|
.. | ||
app | ||
backend | ||
fixtures | ||
inpainting | ||
test_model_manager | ||
test_model_probe/vae | ||
__init__.py | ||
conftest.py | ||
dev_prompts.txt | ||
legacy_tests.sh | ||
test_config.py | ||
test_docs.py | ||
test_graph_execution_state.py | ||
test_invocation_cache_memory.py | ||
test_item_storage_memory.py | ||
test_model_hash.py | ||
test_model_probe.py | ||
test_model_search.py | ||
test_node_graph.py | ||
test_nodes.py | ||
test_object_serializer_disk.py | ||
test_path.py | ||
test_profiler.py | ||
test_session_queue.py | ||
test_sqlite_migrator.py | ||
validate_pr_prompt.txt |