Skip to content

Commit 343a778

Browse files
author
python-desert
authored
Fix test for default
2 parents 28895ed + 086f79d commit 343a778

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_make.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ class A:
8181
data = schema.load({"x": 1})
8282
assert data == A(1)
8383

84+
data = schema.load({})
85+
assert data == A(1)
86+
8487

8588
def test_list(module):
8689
"""Build a generic list *without* setting a factory on the dataclass."""

0 commit comments

Comments
 (0)