Skip to content

Commit 743dfe6

Browse files
committed
fix: corrected tests
1 parent 998d14a commit 743dfe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,11 @@ def test_validate_payload_not_valid_schema():
131131

132132

133133
def test_as_dict():
134-
exc = t.DataError()
134+
exc = t.DataError('err')
135135
resp = as_dict(exc)
136136
assert isinstance(resp, dict)
137137

138-
exc = t.DataError()
138+
exc = t.DataError('err')
139139
assert isinstance(exc.as_dict("boom"), str)
140140

141141
resp = as_dict(exc, 'boom')

0 commit comments

Comments
 (0)