From 319e5e2ddd20444bb30f294a2fd08854dfaae494 Mon Sep 17 00:00:00 2001 From: Klaus Fl Date: Fri, 7 Aug 2015 17:19:25 +0200 Subject: Make indexing recepients work again by fixing serialization bug --- service/test/support/integration/model.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'service/test/support') 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 -- cgit v1.2.3