Message ID | 1445378383-16977-10-git-send-email-damien.lespiau@intel.com |
---|---|
State | Accepted |
Headers | show |
On 20 Oct 22:59, Damien Lespiau wrote: > create_email() can use the default project for its mail. If that is the > case, chances are we are going to use that email later in a test where > we'll want that project to exist. > > Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> > Acked-by: Stephen Finucane <stephen.finucane@intel.com> Merged.
diff --git a/patchwork/tests/utils.py b/patchwork/tests/utils.py index 4f4906b..931462b 100644 --- a/patchwork/tests/utils.py +++ b/patchwork/tests/utils.py @@ -118,6 +118,7 @@ def create_email(content, subject = None, sender = None, multipart = False, sender = defaults.sender if project is None: project = defaults.project + project.save() if content_encoding is None: content_encoding = 'us-ascii'