summaryrefslogtreecommitdiff
path: root/src/leap/mail
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-01-16 20:27:24 -0400
committerKali Kaneko <kali@leap.se>2015-02-11 14:05:43 -0400
commit3e8458b3640167078ad24584fed4a071cae934d9 (patch)
tree852b1588f2608e84f5c942978548291f33f55ce2 /src/leap/mail
parent49f29ea0430d75ab99563e85019fd58ea7370f96 (diff)
tests: add link related to trial block with sync
Diffstat (limited to 'src/leap/mail')
-rw-r--r--src/leap/mail/imap/tests/utils.py1
-rw-r--r--src/leap/mail/incoming/tests/test_incoming_mail.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/mail/imap/tests/utils.py b/src/leap/mail/imap/tests/utils.py
index 5708787..83c3f29 100644
--- a/src/leap/mail/imap/tests/utils.py
+++ b/src/leap/mail/imap/tests/utils.py
@@ -99,6 +99,7 @@ class IMAP4HelperMixin(SoledadTestMixin):
# Soledad sync makes trial block forever. The sync it's mocked to
# fix this problem. _mock_soledad_get_from_index can be used from
# the tests to provide documents.
+ # TODO see here, possibly related? -- http://www.pythoneye.com/83_20424875/
self._soledad.sync = Mock()
d = defer.Deferred()
diff --git a/src/leap/mail/incoming/tests/test_incoming_mail.py b/src/leap/mail/incoming/tests/test_incoming_mail.py
index bf95b1d..0745ee0 100644
--- a/src/leap/mail/incoming/tests/test_incoming_mail.py
+++ b/src/leap/mail/incoming/tests/test_incoming_mail.py
@@ -80,6 +80,7 @@ subject: independence of cyberspace
# Soledad sync makes trial block forever. The sync it's mocked to
# fix this problem. _mock_soledad_get_from_index can be used from
# the tests to provide documents.
+ # TODO ---- see here http://www.pythoneye.com/83_20424875/
self._soledad.sync = Mock()
self.fetcher = IncomingMail(