diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-01-12 18:27:56 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-01-12 18:27:56 +0100 |
| commit | 43339caea0a1bc7125740746c568fbe536c96d2e (patch) | |
| tree | d710bb1bff6187bd8389e72641e545326f7a8df7 /archaeological_context_records | |
| parent | 555868ac554938ce90e181b77971286d7170fdc6 (diff) | |
| download | Ishtar-43339caea0a1bc7125740746c568fbe536c96d2e.tar.bz2 Ishtar-43339caea0a1bc7125740746c568fbe536c96d2e.zip | |
✅ basic tests for all statistics modality
Diffstat (limited to 'archaeological_context_records')
| -rw-r--r-- | archaeological_context_records/tests.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/archaeological_context_records/tests.py b/archaeological_context_records/tests.py index 0338a2f20..54b9922b0 100644 --- a/archaeological_context_records/tests.py +++ b/archaeological_context_records/tests.py @@ -68,6 +68,7 @@ from ishtar_common.tests import ( COMMON_FIXTURES, WAREHOUSE_FIXTURES, SearchText, + StatisticsTest ) from archaeological_operations.serializers import operation_serialization @@ -797,8 +798,9 @@ class ContextRecordQATest(ContextRecordInit, TestCase): self.assertEqual(cr.datings.count(), nb_datings - 1) # deleted -class ContextRecordSearchTest(ContextRecordInit, TestCase, SearchText): +class ContextRecordSearchTest(ContextRecordInit, TestCase, SearchText, StatisticsTest): fixtures = CONTEXT_RECORD_TOWNS_FIXTURES + MODEL = models.ContextRecord SEARCH_URL = "get-contextrecord" def setUp(self): |
