diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-05-28 11:31:04 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-17 13:21:28 +0200 | 
| commit | 096bf9a3dcee0d72dba4c6c9f3802a02ac6d4d12 (patch) | |
| tree | e19f1dfa26f4547001189721a89f0a5cbe036c57 /archaeological_finds/tests.py | |
| parent | 7587c316830be2c2866b2feeec4b44d081847338 (diff) | |
| download | Ishtar-096bf9a3dcee0d72dba4c6c9f3802a02ac6d4d12.tar.bz2 Ishtar-096bf9a3dcee0d72dba4c6c9f3802a02ac6d4d12.zip | |
Fix cache generation for finds and context records
Diffstat (limited to 'archaeological_finds/tests.py')
| -rw-r--r-- | archaeological_finds/tests.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py index 620f648fd..d5f1fdb62 100644 --- a/archaeological_finds/tests.py +++ b/archaeological_finds/tests.py @@ -680,7 +680,7 @@ class FindSearchTest(FindInit, TestCase):          content = response.content.decode()          res = json.loads(content)          self.assertEqual(res['recordsTotal'], 1) -        self.assertEqual(res["rows"][0]["material_types__label"], +        self.assertEqual(res["rows"][0]["material_types"],                           str(iron_metal))          # no result for the brother @@ -744,7 +744,7 @@ class FindSearchTest(FindInit, TestCase):          self.assertEqual(response.status_code, 200)          res = json.loads(response.content.decode())          self.assertEqual(res['recordsTotal'], 1) -        self.assertEqual(res["rows"][0]["datings__period__label"], +        self.assertEqual(res["rows"][0]["cached_periods"],                           str(final_neo))          # no result for the brother | 
