diff options
Diffstat (limited to 'archaeological_finds/tests.py')
-rw-r--r-- | archaeological_finds/tests.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py index cd6bada77..2ce2c371b 100644 --- a/archaeological_finds/tests.py +++ b/archaeological_finds/tests.py @@ -316,6 +316,7 @@ class FindTest(FindInit, TestCase): profile = get_current_profile() profile.find_index = u"O" profile.save() + profile = get_current_profile(force=True) op1 = self.create_operation()[-1] op2 = self.create_operation()[-1] @@ -344,9 +345,10 @@ class FindTest(FindInit, TestCase): self.assertEqual(find_3.index, 1) self.assertEqual(bf_3.index, 1) - profile = get_current_profile() + profile = get_current_profile(force=True) profile.find_index = u"CR" profile.save() + profile = get_current_profile(force=True) op3 = self.create_operation()[-1] op3_cr1 = self.create_context_record(data={'label': "CR1", |