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-24 09:16:50 +0100 |
commit | cd6c7dcb2fb0f1241bedaf0233971bae8403b68e (patch) | |
tree | 4b8ba8ffb6b276381434c9d5b8c1d748a36c157a /service/test/unit/config | |
parent | 2bb90fd6784604858d0c8473fcd8ec3db635a639 (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 40f1bedc..d12095c9 100644 --- a/service/test/unit/config/test_sessions.py +++ b/service/test/unit/config/test_sessions.py @@ -60,10 +60,9 @@ class SessionTest(AbstractLeapTest): # TODO: fix this in SnapCI if os.environ.get('SNAP_CI') == 'true': raise unittest.SkipTest('Skip this test in SnapCI, because it fails for misterious reasons') - 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' @@ -163,6 +162,4 @@ class SessionTest(AbstractLeapTest): def _execute_func(func): - print 'in _execute_func, before executing', func func() - print 'in _execute_func, after executing', func |