From de08b6afe26f2d954248482f89030b16d1d58b94 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 18 Mar 2019 19:48:55 +0100 Subject: Fix stats cache for integer values --- archaeological_context_records/tests.py | 1 + 1 file changed, 1 insertion(+) (limited to 'archaeological_context_records/tests.py') diff --git a/archaeological_context_records/tests.py b/archaeological_context_records/tests.py index 32e97c730..aa98d83a8 100644 --- a/archaeological_context_records/tests.py +++ b/archaeological_context_records/tests.py @@ -292,6 +292,7 @@ class ContextRecordTest(ContextRecordInit, TestCase): cr.label = "Label label" cr.location = "I am heeere" cr.save() + cr = models.ContextRecord.objects.get(pk=cr.pk) for key in ('label', 'heeer'): self.assertIn(key, cr.search_vector) cr.operation.code_patriarche = "PATRIARCHE" -- cgit v1.2.3