From 4970a276e34a9fd14cae13281242b23755d5f5e9 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 16 Sep 2021 14:27:34 +0200 Subject: Migration to Django 2.2 - fixes - fix test - fix searches --- ishtar_common/tests.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ishtar_common/tests.py') diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py index 831eac25d..e3af9024f 100644 --- a/ishtar_common/tests.py +++ b/ishtar_common/tests.py @@ -544,6 +544,9 @@ class WizardTest(object): if extra_data: data.update(extra_data) + for k in data: + if data[k] is None: + data[k] = "" try: response = client.post(url, data, follow=follow) except ValidationError as e: -- cgit v1.2.3