Skip to content

Commit c6712a2

Browse files
committed
Fix test which wasn't updated.
1 parent 7c96ce2 commit c6712a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def test_exclude_if_none_subclass() -> None:
6767
# Create a subclass that adds a field, and ensure it works.
6868
class TestClass(_GeoJsonBase):
6969
test_field: str = None
70-
__exclude_if_none__: Set[str] = {"bbox", "test_field"}
70+
__geojson_exclude_if_none__: Set[str] = {"bbox", "test_field"}
7171

7272
assert TestClass().model_dump_json() == "{}"
7373
assert TestClass(test_field="a").model_dump_json() == '{"test_field":"a"}'

0 commit comments

Comments
 (0)