mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-08 07:43:57 +00:00
log testname on test run
This commit is contained in:
parent
5f6addfbc8
commit
e10a51dd02
6 changed files with 27 additions and 12 deletions
|
|
@ -14,6 +14,7 @@
|
|||
@author: Bastian Schroll
|
||||
@description: Unittests for BOSWatch. File must be _run as "pytest" unittest
|
||||
"""
|
||||
import logging
|
||||
|
||||
from boswatch.decoder import decoder
|
||||
|
||||
|
|
@ -21,6 +22,10 @@ from boswatch.decoder import decoder
|
|||
class Test_Decoder:
|
||||
"""!Unittests for the decoder"""
|
||||
|
||||
def setup_method(self, method):
|
||||
logging.debug("[TEST] %s.%s" % (type(self).__name__, method.__name__))
|
||||
logging.
|
||||
|
||||
def test_decoderNoData(self):
|
||||
"""!Test a empty string"""
|
||||
assert decoder.getDecoder("").decode("") is None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue