summaryrefslogtreecommitdiff
path: root/ishtar_common/tests.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-07-01 17:57:39 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2020-07-01 17:57:39 +0200
commit5b3bf3f1fb37ad2a79a2ad04138746a58452e6d6 (patch)
tree0537fe6e1dd8ed2a2e55bfb4d398044b6cabdd79 /ishtar_common/tests.py
parent18f8006b70d52bbafe5ab75478f1f963aaf7636f (diff)
downloadIshtar-5b3bf3f1fb37ad2a79a2ad04138746a58452e6d6.tar.bz2
Ishtar-5b3bf3f1fb37ad2a79a2ad04138746a58452e6d6.zip
Fix bad M2M renitialization on wizards (refs #4963)
Diffstat (limited to 'ishtar_common/tests.py')
-rw-r--r--ishtar_common/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py
index 9b7080387..0eda481b1 100644
--- a/ishtar_common/tests.py
+++ b/ishtar_common/tests.py
@@ -471,10 +471,10 @@ class WizardTest(object):
try:
response = client.post(url, data, follow=follow)
except ValidationError as e:
- msg = u"Errors: {} on {}. On \"ManagementForm data is " \
- u"missing or...\" error verify the wizard_name or " \
- u"step name".format(u" - ".join(e.messages),
- current_step)
+ msg = "Errors: {} on {}. On \"ManagementForm data is " \
+ "missing or...\" error verify the wizard_name or " \
+ "step name".format(" - ".join(e.messages),
+ current_step)
raise ValidationError(msg)
return response