From 68003c6bd566c38f8879e7ad666ed514094e230e Mon Sep 17 00:00:00 2001 From: Nicolas Jouanin Date: Thu, 18 Jun 2015 11:38:44 +0200 Subject: [PATCH] Add client test file --- tests/client/__init__.py | 1 + tests/client/test_client.py | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 tests/client/__init__.py create mode 100644 tests/client/test_client.py diff --git a/tests/client/__init__.py b/tests/client/__init__.py new file mode 100644 index 0000000..e1bd617 --- /dev/null +++ b/tests/client/__init__.py @@ -0,0 +1 @@ +__author__ = 'nico' diff --git a/tests/client/test_client.py b/tests/client/test_client.py new file mode 100644 index 0000000..a59fb95 --- /dev/null +++ b/tests/client/test_client.py @@ -0,0 +1,7 @@ +import logging +from hbmqtt.client._client import MQTTClient + +if __name__ == '__main__': + logging.basicConfig(level=logging.DEBUG) + C=MQTTClient() + C.connect(uri='mqtt://localhost:1883/', username='testuser', password="passwd") \ No newline at end of file