Several resources are currently tested only on the async path; their sync equivalents have no direct test.
| Method |
Async test (exists) |
Sync test |
models.search() |
test_models_search_is_awaitable |
❌ |
images.generate() |
test_images_generate_is_awaitable |
❌ |
admin.health() |
test_admin_health_is_awaitable |
❌ |
admin.providers.list() |
test_admin_providers_list_is_awaitable |
❌ |
What to do
Add a sync test for each (mock the endpoint, assert the parsed result). See TestModels.test_list and TestAdminKeys.test_list_keys for the pattern.
Several resources are currently tested only on the async path; their sync equivalents have no direct test.
models.search()test_models_search_is_awaitableimages.generate()test_images_generate_is_awaitableadmin.health()test_admin_health_is_awaitableadmin.providers.list()test_admin_providers_list_is_awaitableWhat to do
Add a sync test for each (mock the endpoint, assert the parsed result). See
TestModels.test_listandTestAdminKeys.test_list_keysfor the pattern.