fixed port for test_connect_ws

fixed port used for ws test from 8081 (which is wss) to 8080.
pull/8/head
mi3z 2017-11-09 17:32:07 +01:00 zatwierdzone przez GitHub
rodzic cf5472f4c9
commit 3fc4bb7a9e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -103,7 +103,7 @@ class MQTTClientTest(unittest.TestCase):
broker = Broker(broker_config, plugin_namespace="hbmqtt.test.plugins") broker = Broker(broker_config, plugin_namespace="hbmqtt.test.plugins")
yield from broker.start() yield from broker.start()
client = MQTTClient() client = MQTTClient()
yield from client.connect('ws://localhost:8081/') yield from client.connect('ws://localhost:8080/')
self.assertIsNotNone(client.session) self.assertIsNotNone(client.session)
yield from client.disconnect() yield from client.disconnect()
yield from broker.shutdown() yield from broker.shutdown()