summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
commit2ab35bdab047a5bda62315e0a71dff7f93b0cec1 (patch)
treeb1fdcce729a31fa1d0833d23fe1a05ceeaaee362
parentd43af7a4629f8c49107888224ccf2d6867d3e04b (diff)
downloadIshtar-2ab35bdab047a5bda62315e0a71dff7f93b0cec1.tar.bz2
Ishtar-2ab35bdab047a5bda62315e0a71dff7f93b0cec1.zip
Fix document test
-rw-r--r--archaeological_files/templates/ishtar/administrativeact_document.html2
-rw-r--r--archaeological_operations/tests.py5
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()