Test: Fix KeyError
The added account causes an issue with test_gui_interface, so the account needs to be removed again
This commit is contained in:
parent
3e8b12a533
commit
bc6068cdd8
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue