Skip to content

Commit

Permalink
tests: add a test for service_provider_configuration_schema
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed May 24, 2024
1 parent b2b443a commit f84ac41
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,3 +395,15 @@ def test_schema(resource_schema_payload):
)
== resource_schema_payload[2]
)


def test_service_provider_configuration_schema(
service_provider_configuration_schema_payload,
):
obj = Schema.model_validate(service_provider_configuration_schema_payload[0])
assert (
obj.model_dump(
exclude_none=True, exclude_unset=True, by_alias=True, mode="json"
)
== service_provider_configuration_schema_payload[0]
)

0 comments on commit f84ac41

Please sign in to comment.