diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-09-16 14:27:34 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:20:58 +0100 |
commit | e9ae5406e55dcc9c62b0304531df66e0399f6f7c (patch) | |
tree | 082caee7a417b55f352fc225a3aedc1cee3a6cd0 /ishtar_common/tests.py | |
parent | 7d235c4d2bdffe729608d928b48dc8f647ebe54d (diff) | |
download | Ishtar-e9ae5406e55dcc9c62b0304531df66e0399f6f7c.tar.bz2 Ishtar-e9ae5406e55dcc9c62b0304531df66e0399f6f7c.zip |
Migration to Django 2.2 - fixes
- fix test
- fix searches
Diffstat (limited to 'ishtar_common/tests.py')
-rw-r--r-- | ishtar_common/tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
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: |