pull/8/head
Nicolas Jouanin 2015-06-13 14:38:59 +02:00
rodzic fbcb7e7505
commit 6f9023ffe8
3 zmienionych plików z 1 dodań i 18 usunięć

Wyświetl plik

@ -1,17 +0,0 @@
# Copyright (c) 2015 Nicolas JOUANIN
#
# See the file license.txt for copying permission.
import unittest
import logging
import time
from hbmqtt.broker import Broker
logging.basicConfig(level=logging.DEBUG)
class TestBroker(unittest.TestCase):
def test_start_broker(self):
b = Broker()
b.start()
time.sleep(100)
self.assertEqual(b.machine.state, 'started')
b.shutdown()

Wyświetl plik

@ -12,7 +12,7 @@ from hbmqtt.codecs import (
)
class TestUtils(unittest.TestCase):
class TestCodecs(unittest.TestCase):
def setUp(self):
self.loop = asyncio.new_event_loop()