tests: fix test_if_the_schema_is_the_latest

This commit is contained in:
Sina Atalay
2025-01-25 19:18:15 -05:00
parent bdc7009b2c
commit 5c16e2c3f0

View File

@@ -141,13 +141,6 @@ def test_if_the_schema_is_the_latest(root_directory_path):
original_schema_file_path = root_directory_path / "schema.json"
original_schema_text = original_schema_file_path.read_text()
original_schema = json.loads(original_schema_text)
original_schema["$defs"]["RenderCVSettings"]["properties"]["date"]["default"] = (
Date.today().isoformat()
)
original_schema["properties"]["rendercv_settings"]["default"]["date"] = (
Date.today().isoformat()
)
new_schema = data.generate_json_schema()
assert original_schema == new_schema