mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-02-19 22:04:15 +01:00
fix little error
This commit is contained in:
parent
3f1eac88be
commit
3c7489e37e
|
|
@ -26,7 +26,7 @@ class Test_ServerClient:
|
||||||
"""!Unittest for the server/client environment"""
|
"""!Unittest for the server/client environment"""
|
||||||
|
|
||||||
def setup_method(self, method):
|
def setup_method(self, method):
|
||||||
logging.debug("[TEST] %s.%s", (type(self).__name__, method.__name__))
|
logging.debug("[TEST] %s.%s", type(self).__name__, method.__name__)
|
||||||
|
|
||||||
@pytest.fixture(scope="function")
|
@pytest.fixture(scope="function")
|
||||||
def useServer(self):
|
def useServer(self):
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ class Test_Config:
|
||||||
"""!Unittests for the config"""
|
"""!Unittests for the config"""
|
||||||
|
|
||||||
def setup_method(self, method):
|
def setup_method(self, method):
|
||||||
logging.debug("[TEST] %s.%s", (type(self).__name__, method.__name__))
|
logging.debug("[TEST] %s.%s", type(self).__name__, method.__name__)
|
||||||
|
|
||||||
def test_loadLocalConfig(self):
|
def test_loadLocalConfig(self):
|
||||||
"""!load a local config file"""
|
"""!load a local config file"""
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ class Test_Decoder:
|
||||||
"""!Unittests for the decoder"""
|
"""!Unittests for the decoder"""
|
||||||
|
|
||||||
def setup_method(self, method):
|
def setup_method(self, method):
|
||||||
logging.debug("[TEST] %s.%s", (type(self).__name__, method.__name__))
|
logging.debug("[TEST] %s.%s", type(self).__name__, method.__name__)
|
||||||
|
|
||||||
def test_decoderNoData(self):
|
def test_decoderNoData(self):
|
||||||
"""!Test a empty string"""
|
"""!Test a empty string"""
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ class Test_Descriptor:
|
||||||
"""!Unittests for the descriptor"""
|
"""!Unittests for the descriptor"""
|
||||||
|
|
||||||
def setup_method(self, method):
|
def setup_method(self, method):
|
||||||
logging.debug("[TEST] %s.%s", (type(self).__name__, method.__name__))
|
logging.debug("[TEST] %s.%s", type(self).__name__, method.__name__)
|
||||||
|
|
||||||
def test_loadCsvNotExist(self):
|
def test_loadCsvNotExist(self):
|
||||||
"""!read CSV file where not exist direct per DescriptionList class"""
|
"""!read CSV file where not exist direct per DescriptionList class"""
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ import boswatch.filter.doubeFilter
|
||||||
class Test_DoubleFilter:
|
class Test_DoubleFilter:
|
||||||
|
|
||||||
def setup_method(self, method):
|
def setup_method(self, method):
|
||||||
logging.debug("[TEST] %s.%s", (type(self).__name__, method.__name__))
|
logging.debug("[TEST] %s.%s", type(self).__name__, method.__name__)
|
||||||
|
|
||||||
def test_none(self):
|
def test_none(self):
|
||||||
pass
|
pass
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ class Test_Header:
|
||||||
"""!Unittests for the header"""
|
"""!Unittests for the header"""
|
||||||
|
|
||||||
def setup_method(self, method):
|
def setup_method(self, method):
|
||||||
logging.debug("[TEST] %s.%s", (type(self).__name__, method.__name__))
|
logging.debug("[TEST] %s.%s", type(self).__name__, method.__name__)
|
||||||
|
|
||||||
def test_logoToLog(self):
|
def test_logoToLog(self):
|
||||||
"""!Test logo to log"""
|
"""!Test logo to log"""
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ class Test_Packet:
|
||||||
"""!Unittests for the BOSWatch packet"""
|
"""!Unittests for the BOSWatch packet"""
|
||||||
|
|
||||||
def setup_method(self, method):
|
def setup_method(self, method):
|
||||||
logging.debug("[TEST] %s.%s", (type(self).__name__, method.__name__))
|
logging.debug("[TEST] %s.%s", type(self).__name__, method.__name__)
|
||||||
|
|
||||||
@pytest.fixture(scope="function")
|
@pytest.fixture(scope="function")
|
||||||
def buildPacket(self):
|
def buildPacket(self):
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ class Test_Config:
|
||||||
"""!Unittests for the paths"""
|
"""!Unittests for the paths"""
|
||||||
|
|
||||||
def setup_method(self, method):
|
def setup_method(self, method):
|
||||||
logging.debug("[TEST] %s.%s", (type(self).__name__, method.__name__))
|
logging.debug("[TEST] %s.%s", type(self).__name__, method.__name__)
|
||||||
|
|
||||||
def test_fileExists(self):
|
def test_fileExists(self):
|
||||||
"""!load a local config file"""
|
"""!load a local config file"""
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ import logging
|
||||||
class Test_Watchdog:
|
class Test_Watchdog:
|
||||||
|
|
||||||
def setup_method(self, method):
|
def setup_method(self, method):
|
||||||
logging.debug("[TEST] %s.%s", (type(self).__name__, method.__name__))
|
logging.debug("[TEST] %s.%s", type(self).__name__, method.__name__)
|
||||||
|
|
||||||
def test_none(self):
|
def test_none(self):
|
||||||
pass
|
pass
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue