From: Stephen Finucane Date: Mon, 3 Dec 2018 14:28:14 +0000 (+0000) Subject: tests: Start setting Project.listemail X-Git-Tag: v2.2.0-rc1~198 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cda676284eb6adccbc65e11624699789388a04e;p=thirdparty%2Fpatchwork.git tests: Start setting Project.listemail I'm not actually sure why this wasn't raising an error. Perhaps it's because null validation for char fields happens in forms rather than at the database level. In any case, this won't happen normally since we only allow creation via the admin API so simply start setting this. Signed-off-by: Stephen Finucane --- diff --git a/patchwork/tests/utils.py b/patchwork/tests/utils.py index aad8a2e9..5ebc933b 100644 --- a/patchwork/tests/utils.py +++ b/patchwork/tests/utils.py @@ -57,6 +57,7 @@ def create_project(**kwargs): 'linkname': 'test-project-%d' % num, 'name': 'Test Project %d' % num, 'listid': 'test%d.example.com' % num, + 'listemail': 'test%d@example.com' % num, 'subject_match': '', } values.update(kwargs)