aboutsummaryrefslogtreecommitdiff
path: root/tests/models/morning/test.py
diff options
context:
space:
mode:
authorMax Nanis2026-08-18 16:35:11 -0700
committerMax Nanis2026-08-18 16:35:11 -0700
commit0742210fc7eaa54d8068bfd18414158dc9b33672 (patch)
tree5f42b671ccbd9cc44f1f62229cac16a5e455317d /tests/models/morning/test.py
parent6b4f8d6b8700a65bdf74beb3d95c969a81464a56 (diff)
downloadgeneralresearch-0742210fc7eaa54d8068bfd18414158dc9b33672.tar.gz
generalresearch-0742210fc7eaa54d8068bfd18414158dc9b33672.zip
Ruff cleanup
Diffstat (limited to 'tests/models/morning/test.py')
-rw-r--r--tests/models/morning/test.py7
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