diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-01-20 12:25:10 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-01-20 12:25:10 +0100 |
commit | 994091c2226229fa7fdc1ea9e6cc1bc4e6a27b71 (patch) | |
tree | 40e3611f0add7724d63c9c3a8ef9f79d349f21d6 /archaeological_finds/tests.py | |
parent | 56d15235cf3a4867a1887f6d6d82798874c4e2e1 (diff) | |
download | Ishtar-994091c2226229fa7fdc1ea9e6cc1bc4e6a27b71.tar.bz2 Ishtar-994091c2226229fa7fdc1ea9e6cc1bc4e6a27b71.zip |
Tests: treatment creation wizard
Diffstat (limited to 'archaeological_finds/tests.py')
-rw-r--r-- | archaeological_finds/tests.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py index b8194cd4d..18744ea3d 100644 --- a/archaeological_finds/tests.py +++ b/archaeological_finds/tests.py @@ -207,12 +207,11 @@ class ATreatmentWizardCreationTest(WizardTest, FindInit, TestCase): self.assertEqual(models.Treatment.objects.count(), self.treatment_number + 1) treat = models.Treatment.objects.order_by('-pk').all()[0] - """ + self.find = models.Find.objects.get(pk=self.find.pk) self.assertEqual(models.Find.objects.filter( upstream_treatment=treat).count(), 1) self.assertEqual(self.find.downstream_treatment, treat) - """ class ImportFindTest(ImportContextRecordTest): |