diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-12-20 18:18:44 +0100 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-12-20 18:18:44 +0100 | 
| commit | 5dd320dcd5c9b64fef521e48220f7767d8d73728 (patch) | |
| tree | 9040f7dbace615584cb456bf5ffedc9ef9dc4a7a /archaeological_finds/tests.py | |
| parent | fa07d144fdf6bd89ee6d1014243aacbeb722b09c (diff) | |
| download | Ishtar-5dd320dcd5c9b64fef521e48220f7767d8d73728.tar.bz2 Ishtar-5dd320dcd5c9b64fef521e48220f7767d8d73728.zip | |
Fix find test
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() | 
