From a7fbc7149deecfa2be8be42ee7c4a61bfe4d218f Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Fri, 16 Jan 2015 20:27:24 -0400 Subject: tests: add link related to trial block with sync --- mail/src/leap/mail/imap/tests/utils.py | 1 + mail/src/leap/mail/incoming/tests/test_incoming_mail.py | 1 + 2 files changed, 2 insertions(+) diff --git a/mail/src/leap/mail/imap/tests/utils.py b/mail/src/leap/mail/imap/tests/utils.py index 5708787..83c3f29 100644 --- a/mail/src/leap/mail/imap/tests/utils.py +++ b/mail/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/mail/src/leap/mail/incoming/tests/test_incoming_mail.py b/mail/src/leap/mail/incoming/tests/test_incoming_mail.py index bf95b1d..0745ee0 100644 --- a/mail/src/leap/mail/incoming/tests/test_incoming_mail.py +++ b/mail/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( -- cgit v1.2.3