Skip to content

Commit 7518bc7

Browse files
committed
Added type hints into tests/unit/test_configuration_unknown_fields.py
1 parent dd5196d commit 7518bc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/test_configuration_unknown_fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from models.config import ServiceConfiguration
77

88

9-
def test_configuration_rejects_unknown_fields():
9+
def test_configuration_rejects_unknown_fields() -> None:
1010
"""Test that configuration models reject unknown fields."""
1111
with pytest.raises(ValidationError, match="Extra inputs are not permitted"):
1212
ServiceConfiguration(host="localhost", port=8080, unknown_field="should_fail")

0 commit comments

Comments
 (0)