We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0940ac commit 20e2c61Copy full SHA for 20e2c61
test/unit/test_edge_config.py
@@ -238,7 +238,7 @@ def test_edge_endpoint_config_from_yaml_requires_exactly_one_input():
238
def test_edge_endpoint_config_ignores_extra_top_level_fields():
239
"""Unknown fields are silently ignored for forward compatibility (Postel's Law)."""
240
config = EdgeEndpointConfig.model_validate({"global_config": {}, "unknown_field": True})
241
- assert config.global_config.refresh_rate == 60.0
+ assert config.global_config == GlobalConfig()
242
243
244
def test_model_dump_shape_for_edge_endpoint_config():
0 commit comments