InvokeAI/tests
psychedelicious 842b57e57c tests: update config tests
- 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.
2024-03-22 09:53:02 +11:00
..
app add timeouts to the download tests 2024-03-21 16:41:20 +11:00
backend after stopping install and download services, wait for thread exit 2024-03-21 16:41:20 +11:00
fixtures test: clean up & fix tests 2024-03-01 10:42:33 +11:00
inpainting Rename default schedulers across the app 2023-05-12 03:44:20 +12:00
test_model_manager prevent vae: '' from crashing model 2023-08-10 17:33:04 -04:00
test_model_probe/vae add concept of repo variant 2024-03-01 10:42:33 +11:00
__init__.py parent 9eed1919c2 2023-02-24 18:57:02 -08:00
conftest.py fix tests 2024-03-06 21:57:41 -05:00
dev_prompts.txt Added linux to the workflows (#463) 2022-09-16 17:46:57 -04:00
legacy_tests.sh Add back old dream.py as legacy_api.py 2022-10-12 20:35:56 -04:00
test_config.py tests: update config tests 2024-03-22 09:53:02 +11:00
test_docs.py tidy(config): move config docstring builder to its script 2024-03-19 09:24:28 +11:00
test_graph_execution_state.py test: clean up & fix tests 2024-03-01 10:42:33 +11:00
test_invocation_cache_memory.py tests: add invocation cache tests 2024-03-06 08:14:12 -05:00
test_item_storage_memory.py chore(item-storage): improve types 2024-02-03 07:34:06 -05:00
test_model_hash.py feat(mm): rename "blake3" to "blake3_multi" 2024-03-22 08:26:36 +11:00
test_model_probe.py tests: update default settings tests 2024-03-14 16:03:37 +11:00
test_model_search.py tidy(mm): ModelSearch cleanup 2024-03-10 12:09:47 +11:00
test_node_graph.py tidy(nodes): remove commented tests 2024-03-01 10:42:33 +11:00
test_nodes.py test: clean up & fix tests 2024-03-01 10:42:33 +11:00
test_object_serializer_disk.py feat(nodes): use TemporaryDirectory to handle ephemeral storage in ObjectSerializerDisk 2024-03-01 10:42:33 +11:00
test_path.py chore: ruff 2024-03-01 10:42:33 +11:00
test_profiler.py feat: add profiler util (#5601) 2024-01-31 10:51:57 +00:00
test_session_queue.py tidy(nodes): remove commented tests 2024-03-01 10:42:33 +11:00
test_sqlite_migrator.py fix(db): rename "SQLiteMigrator" -> "SqliteMigrator" 2023-12-13 11:31:15 +11:00
validate_pr_prompt.txt fixes to env parsing, textual inversion & help text 2023-05-18 10:48:23 -04:00