aboutsummaryrefslogtreecommitdiff
path: root/tests/models/test_hit.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/models/test_hit.py')
-rw-r--r--tests/models/test_hit.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/models/test_hit.py b/tests/models/test_hit.py
new file mode 100644
index 0000000..3952068
--- /dev/null
+++ b/tests/models/test_hit.py
@@ -0,0 +1,10 @@
+import pytest
+from jb.models.hit import Hit
+
+
+class TestAssignment:
+
+ @pytest.mark.anyio
+ def test_get_assignment(self, hit_record: Hit):
+ assert isinstance(hit_record, Hit)
+ assert hit_record.id is not None