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-23 17:59:31 +0100 |
commit | 2884195e96728c0432a8e8d0d2f747ae2baefd06 (patch) | |
tree | e9c37eca19339dd6f04fc4820c5a481267395d56 /service | |
parent | 3d9d3a407de9e179d4f7be055a24c02fcf9bb418 (diff) |
mock out event registration for failing test in SnapCI
Diffstat (limited to 'service')
-rw-r--r-- | service/test/unit/config/test_sessions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/service/test/unit/config/test_sessions.py b/service/test/unit/config/test_sessions.py index b2aa2939..98e5c69e 100644 --- a/service/test/unit/config/test_sessions.py +++ b/service/test/unit/config/test_sessions.py @@ -53,8 +53,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): + def test_that_sync_defers_to_soledad(self, *unused): session = self._create_session() yield session.sync() self.soledad_session.sync.assert_called_once() |