mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
tests: fix docs test
This commit is contained in:
parent
5606f4d627
commit
15cef98a8b
@ -1,4 +1,4 @@
|
||||
from invokeai.app.services.config.config_default import InvokeAIAppConfig
|
||||
from invokeai.app.services.config.config_default import InvokeAIAppConfig, generate_config_docstrings
|
||||
|
||||
|
||||
def test_app_config_docstrings_are_current():
|
||||
@ -9,7 +9,7 @@ def test_app_config_docstrings_are_current():
|
||||
|
||||
assert InvokeAIAppConfig.__doc__ is not None
|
||||
|
||||
generated_docstring = InvokeAIAppConfig.generate_docstrings()
|
||||
generated_docstring = generate_config_docstrings()
|
||||
|
||||
formatted_dunder_docstring = f' """{InvokeAIAppConfig.__doc__.strip()}\n """'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user