summaryrefslogtreecommitdiff
path: root/archaeological_finds/tests.py
diff options
context:
space:
mode:
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
commit994091c2226229fa7fdc1ea9e6cc1bc4e6a27b71 (patch)
tree40e3611f0add7724d63c9c3a8ef9f79d349f21d6 /archaeological_finds/tests.py
parent56d15235cf3a4867a1887f6d6d82798874c4e2e1 (diff)
downloadIshtar-994091c2226229fa7fdc1ea9e6cc1bc4e6a27b71.tar.bz2
Ishtar-994091c2226229fa7fdc1ea9e6cc1bc4e6a27b71.zip
Tests: treatment creation wizard
Diffstat (limited to 'archaeological_finds/tests.py')
-rw-r--r--archaeological_finds/tests.py3
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):