summaryrefslogtreecommitdiff
path: root/service/test/unit/config/test_sessions.py
diff options
context:
space:
mode:
Diffstat (limited to 'service/test/unit/config/test_sessions.py')
-rw-r--r--service/test/unit/config/test_sessions.py9
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