Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits: 5bea073b by Philipp Hörist at 2018-12-21T11:34:54Z Fix test
- - - - -
1 changed file:
- test/unit/test_xmpp_dispatcher_nb.py
Changes:
===================================== test/unit/test_xmpp_dispatcher_nb.py ===================================== @@ -8,6 +8,8 @@ from test import lib
from nbxmpp import dispatcher_nb from nbxmpp import protocol +from nbxmpp.protocol import JID +
class TestDispatcherNB(unittest.TestCase): ''' @@ -19,6 +21,7 @@ class TestDispatcherNB(unittest.TestCase):
# Setup mock client self.client = Mock() + self.client.get_bound_jid.return_value = JID('test@test.test') self.client.defaultNamespace = protocol.NS_CLIENT self.client.Connection = Mock() # mock transport self.con = self.client.Connection
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/commit/5bea073ba9ef04f5fa58e440ae7...