diff options
author | Roald de Vries <rdevries@thoughtworks.com> | 2016-11-23 17:59:31 +0100 |
---|---|---|
committer | Roald de Vries <rdevries@thoughtworks.com> | 2016-11-24 09:16:50 +0100 |
commit | 45f5b15c4818eb46d2f9b26fe7173a4e6ee9ede4 (patch) | |
tree | fe6585188844158c30e54f224faa745f10f7237a /service | |
parent | cd6c7dcb2fb0f1241bedaf0233971bae8403b68e (diff) |
mock out event registration for failing test in SnapCI
Diffstat (limited to 'service')
-rw-r--r-- | service/test/unit/config/test_sessions.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/service/test/unit/config/test_sessions.py b/service/test/unit/config/test_sessions.py index d12095c9..a7e62c7a 100644 --- a/service/test/unit/config/test_sessions.py +++ b/service/test/unit/config/test_sessions.py @@ -55,11 +55,9 @@ class SessionTest(AbstractLeapTest): session.close() mail_fetcher_mock.stopService.assert_called_once() + @patch('pixelated.config.sessions.register') @defer.inlineCallbacks - def test_that_sync_defers_to_soledad(self): - # 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') + def test_that_sync_defers_to_soledad(self, *unused): session = self._create_session() yield session.sync() self.soledad_session.sync.assert_called_once() |