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 4153a79ad..20c0604d5 100644 --- a/archaeological_finds/tests.py +++ b/archaeological_finds/tests.py @@ -120,7 +120,9 @@ class AFindWizardCreationTest(WizardTest, FindInit, TestCase):          q = ContextRecord.objects.filter(pk=1)          if not q.count():              cr = self.create_context_record()[0] -            cr.pk = 1 +            cr.operation = self.create_operation()[0] +            self.form_datas[0].form_datas['selecrecord-find_creation'][ +                'pk'] = cr.pk              cr.save()          self.find_number = models.Find.objects.count()          self.basefind_number = models.BaseFind.objects.count() | 
