"""Test jsonschema test utils.""" import jsonschema from spec.jsonschema import jobs from video.constants.job_types import JOB_TYPES from tests.testutils import jsonschema as jsonschema_testutils def test_get_fake_data() -> None: """Test get_fake_data.""" schemas = [jobs.build_response_schema_jobs(job_type) for job_type in JOB_TYPES] for schema in schemas: jsonschema.validate(jsonschema_testutils.get_fake_data(schema), schema)