summaryrefslogtreecommitdiff
path: root/service/test/support
diff options
context:
space:
mode:
authorBruno Wagner <bwagner@thoughtworks.com>2014-10-17 14:58:19 +0200
committerBruno Wagner <bwagner@thoughtworks.com>2014-10-17 15:03:56 +0200
commit70ecb8829f8161ede22fcb38274c6e57a9819b98 (patch)
tree4f2b773c7b036ee313597e39fab4f9f5a142db08 /service/test/support
parent4844d927aeac67cc8a41dac77eea21dfb038c984 (diff)
#102 #113 Sorting through search, and ignoring duplicate results on searches
Diffstat (limited to 'service/test/support')
-rw-r--r--service/test/support/integration_helper.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/service/test/support/integration_helper.py b/service/test/support/integration_helper.py
index e6d9b96f..c3233daa 100644
--- a/service/test/support/integration_helper.py
+++ b/service/test/support/integration_helper.py
@@ -118,6 +118,8 @@ class MailBuilder:
for status in Status.from_flags(flags):
self.mail['status'].append(status)
+ def with_date(self, date_string):
+ self.mail['header']['date'] = date_string
return self
def with_ident(self, ident):