diff options
author | Roald de Vries <rdevries@thoughtworks.com> | 2016-11-23 17:40:24 +0100 |
---|---|---|
committer | Roald de Vries <rdevries@thoughtworks.com> | 2016-11-23 17:40:24 +0100 |
commit | 3d9d3a407de9e179d4f7be055a24c02fcf9bb418 (patch) | |
tree | a9f3c7caab58f06fb7f8af9b121d4c919305666e /service/test/unit/config | |
parent | 8640658dca9c2a37f01922a127749af7eec7501e (diff) |
remove another unnecessary patch
Diffstat (limited to 'service/test/unit/config')
-rw-r--r-- | service/test/unit/config/test_sessions.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/service/test/unit/config/test_sessions.py b/service/test/unit/config/test_sessions.py index abae46d8..b2aa2939 100644 --- a/service/test/unit/config/test_sessions.py +++ b/service/test/unit/config/test_sessions.py @@ -55,10 +55,9 @@ class SessionTest(AbstractLeapTest): @defer.inlineCallbacks def test_that_sync_defers_to_soledad(self): - with patch('pixelated.config.sessions.LeapSession._create_incoming_mail_fetcher') as mail_fetcher_mock: - session = self._create_session() - yield session.sync() - self.soledad_session.sync.assert_called_once() + session = self._create_session() + yield session.sync() + self.soledad_session.sync.assert_called_once() def test_session_registers_to_generated_keys(self): email = 'someone@somedomain.tld' @@ -158,6 +157,4 @@ class SessionTest(AbstractLeapTest): def _execute_func(func): - print 'in _execute_func, before executing', func func() - print 'in _execute_func, after executing', func |