diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-05-10 19:51:10 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-05-10 19:51:10 +0200 |
commit | ff3e594b6ba7c0130c676c16ed642399cec312cd (patch) | |
tree | 89270ed12fac165ff8819e5d2ee7efaa161f9dad /archaeological_context_records/tests.py | |
parent | 9efeba22bcdf2270496fb8d305ac07a9abf3a2c1 (diff) | |
download | Ishtar-ff3e594b6ba7c0130c676c16ed642399cec312cd.tar.bz2 Ishtar-ff3e594b6ba7c0130c676c16ed642399cec312cd.zip |
Context records search: fix relation searches
Diffstat (limited to 'archaeological_context_records/tests.py')
-rw-r--r-- | archaeological_context_records/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_context_records/tests.py b/archaeological_context_records/tests.py index e697459b5..df05f4898 100644 --- a/archaeological_context_records/tests.py +++ b/archaeological_context_records/tests.py @@ -369,7 +369,7 @@ class ContextRecordSearchTest(ContextRecordInit, TestCase): # test search between relations response = c.get(reverse('get-contextrecord'), {'label': 'cr 1', - 'relation_types_0': self.cr_rel_type.pk}) + 'cr_relation_types_0': self.cr_rel_type.pk}) self.assertEqual(json.loads(response.content)['total'], 2) # test search between related operations first_ope = self.operations[0] |