diff options
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 |