InvokeAI/tests
psychedelicious 4395ee3c03 feat: parse config before importing anything else
We need to parse the config before doing anything related to invocations to ensure that the invocations union picks up on denied nodes.

- Move that to the top of api_app and cli_app
- Wrap subsequent imports in `if True:`, as a hack to satisfy flake8 and not have to noqa every line or the whole file
- Add tests to ensure graph validation fails when using a denied node, and that the invocations union does not have denied nodes (this indirectly provides confidence that the generated OpenAPI schema will not include denied nodes)
2023-09-08 13:24:37 -04:00
..
inpainting Rename default schedulers across the app 2023-05-12 03:44:20 +12:00
nodes feat(tests): add tests for node versions 2023-09-04 19:16:44 +10:00
test_model_manager prevent vae: '' from crashing model 2023-08-10 17:33:04 -04:00
__init__.py parent 9eed1919c2 2023-02-24 18:57:02 -08: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 feat: parse config before importing anything else 2023-09-08 13:24:37 -04:00
test_model_manager.py prevent vae: '' from crashing model 2023-08-10 17:33:04 -04:00
test_path.py Apply black 2023-07-27 10:54:01 -04:00
validate_pr_prompt.txt fixes to env parsing, textual inversion & help text 2023-05-18 10:48:23 -04:00