Add commander test class
This commit is contained in:
13
tests/test_commander.py
Normal file
13
tests/test_commander.py
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
import unittest
|
||||||
|
import Messaging.mqttsession as ms
|
||||||
|
|
||||||
|
class TestCommander(unittest.TestCase):
|
||||||
|
ms.client = FakeMQTT()
|
||||||
|
|
||||||
|
class FakeMQTT:
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def add_subsc
|
||||||
|
|
||||||
Reference in New Issue
Block a user