diff options
author | André Apitzsch <git@apitzsch.eu> | 2019-02-07 01:33:15 +0300 |
---|---|---|
committer | André Apitzsch <git@apitzsch.eu> | 2019-02-07 01:37:13 +0300 |
commit | 6ce27515a5e38bd794f489220283c900ac275147 (patch) | |
tree | 2da666855b7b5c06649e99fde24f295c8bd66849 /test | |
parent | 2d5a41fe72135d1967bb3b774be66090c8cb57be (diff) |
Remove suffix from client_nb
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/test_xmpp_client.py (renamed from test/unit/test_xmpp_client_nb.py) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/test_xmpp_client_nb.py b/test/unit/test_xmpp_client.py index 8a8cb7b..f2f0c5f 100644 --- a/test/unit/test_xmpp_client_nb.py +++ b/test/unit/test_xmpp_client.py @@ -1,5 +1,5 @@ ''' -Testing script for NonBlockingClient class (src/common/xmpp/client_nb.py) +Testing script for NonBlockingClient class (nbxmpp/client.py) It actually connects to a xmpp server. ''' @@ -9,7 +9,7 @@ from unittest.mock import Mock from test.lib.xmpp_mocks import MockConnection, IdleQueueThread -from nbxmpp import client_nb +from nbxmpp import client # (XMPP server hostname, c2s port). Script will connect to the machine. xmpp_server_port = ('gajim.org', 5222) @@ -54,7 +54,7 @@ class TestNonBlockingClient(unittest.TestCase): def on_connect_failure(self): pass - self.client = client_nb.NonBlockingClient( + self.client = client.NonBlockingClient( domain=server_port[0], idlequeue=self.idlequeue_thread.iq, caller=Mock(spec=TempConnection)) |