tests: fix docs test

This commit is contained in:
psychedelicious 2024-03-12 00:29:44 +11:00
parent 5606f4d627
commit 15cef98a8b

View File

@ -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(): def test_app_config_docstrings_are_current():
@ -9,7 +9,7 @@ def test_app_config_docstrings_are_current():
assert InvokeAIAppConfig.__doc__ is not None assert InvokeAIAppConfig.__doc__ is not None
generated_docstring = InvokeAIAppConfig.generate_docstrings() generated_docstring = generate_config_docstrings()
formatted_dunder_docstring = f' """{InvokeAIAppConfig.__doc__.strip()}\n """' formatted_dunder_docstring = f' """{InvokeAIAppConfig.__doc__.strip()}\n """'