From 5cda676284eb6adccbc65e11624699789388a04e Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 3 Dec 2018 14:28:14 +0000 Subject: [PATCH] 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 --- patchwork/tests/utils.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.47.3