diff options
author | Klaus Fl <kfleerko@thoughtworks.com> | 2015-08-07 17:19:25 +0200 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-08-11 17:00:33 +0200 |
commit | 319e5e2ddd20444bb30f294a2fd08854dfaae494 (patch) | |
tree | 1d341aca9bb601170414275f0cc90b3e19b22359 /service/test/support | |
parent | 8585a186716a4f45132e3c9eea90a792ca76c2a2 (diff) |
Make indexing recepients work again by fixing serialization bug
Diffstat (limited to 'service/test/support')
-rw-r--r-- | service/test/support/integration/model.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/service/test/support/integration/model.py b/service/test/support/integration/model.py index e90a3ec5..93b5969b 100644 --- a/service/test/support/integration/model.py +++ b/service/test/support/integration/model.py @@ -45,6 +45,10 @@ class MailBuilder: self.mail['header']['subject'] = subject return self + def with_from(self, sender): + self.mail['header']['from'] = sender + return self + def with_to(self, to): self.mail['header']['to'] = to return self |