Skip to content
Snippets Groups Projects
Commit bc6068cd authored by André's avatar André Committed by Philipp Hörist
Browse files

Test: Fix KeyError

The added account causes an issue with test_gui_interface,
so the account needs to be removed again
parent 3e8b12a5
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,9 @@ class TestConnectionCaps(unittest.TestCase):
self.module._account = 'account'
self.module._capscache = MagicMock()
def tearDown(self):
app.contacts.remove_account('account')
def _nec_caps_presence_received(self, obj):
self.assertTrue(
isinstance(obj.client_caps, caps_cache.ClientCaps),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment