diff options
Diffstat (limited to 'tests/models/morning/test.py')
| -rw-r--r-- | tests/models/morning/test.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/models/morning/test.py b/tests/models/morning/test.py index cf4982d..bedf9c2 100644 --- a/tests/models/morning/test.py +++ b/tests/models/morning/test.py @@ -185,8 +185,11 @@ class TestMorningBid: from generalresearch.models.morning.survey import MorningBid s = MorningBid.model_validate(bid) - d = s.model_dump(mode="json") - d = s.to_mysql() + res = s.model_dump(mode="json") + assert isinstance(res, dict) + + res = s.to_mysql() + assert isinstance(res, dict) def test_manager(self): # todo: credentials n stuff |
