diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-05-15 14:26:13 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-05-15 14:26:13 +0200 |
commit | e75ddf811652b7df431b48048e7baf0ee044b9a0 (patch) | |
tree | eb53b68ad3802a24fb0165b9648cb5705ebd67c9 /archaeological_finds | |
parent | a587679f9a1cf38a1c450370d70eaf52fd71af74 (diff) | |
download | Ishtar-e75ddf811652b7df431b48048e7baf0ee044b9a0.tar.bz2 Ishtar-e75ddf811652b7df431b48048e7baf0ee044b9a0.zip |
Find tests: force cache refresh
Diffstat (limited to 'archaeological_finds')
-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", |