From fefdb198e0b75ddfe1510d2d6ee9a44917ade3c1 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 1 Jul 2020 17:57:39 +0200 Subject: Fix bad M2M renitialization on wizards (refs #4963) --- ishtar_common/tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ishtar_common/tests.py') 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 -- cgit v1.2.3