diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-02-19 12:46:58 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-02-19 12:46:58 +0100 |
commit | dfdebf20b3d1e2bd701e3559faa18931e017c044 (patch) | |
tree | b1fdcce729a31fa1d0833d23fe1a05ceeaaee362 | |
parent | 3a7df75066975e124ae021bf65ee900ded4766fb (diff) | |
download | Ishtar-dfdebf20b3d1e2bd701e3559faa18931e017c044.tar.bz2 Ishtar-dfdebf20b3d1e2bd701e3559faa18931e017c044.zip |
Fix document test
-rw-r--r-- | archaeological_files/templates/ishtar/administrativeact_document.html | 2 | ||||
-rw-r--r-- | archaeological_operations/tests.py | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/archaeological_files/templates/ishtar/administrativeact_document.html b/archaeological_files/templates/ishtar/administrativeact_document.html index 5d71519f0..104e5063e 100644 --- a/archaeological_files/templates/ishtar/administrativeact_document.html +++ b/archaeological_files/templates/ishtar/administrativeact_document.html @@ -9,9 +9,7 @@ <h2>{% trans "Document generation" %}</h2> <form action="." method="post">{% csrf_token %} <div class='form'> -<table> {{ search_form.as_p }} -</table> <h4>{% trans "Choose the type of document" %}</h4> <table> {{ template_form }} diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index 166e535ca..947be204e 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -1489,7 +1489,10 @@ class RegisterTest(TestCase, OperationInitTest): self.assertIsNone(z.testzip()) c = z.open('content.xml') content = c.read() - self.assertIn('{{ adminact_operator_id }}', content) + self.assertIn( + '{{ adminact_associated_file_in_charge_parcel_owner }}', + content + ) finally: c.close() z.close() |