mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-05 14:25:45 +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,8 +14,7 @@
|
|||
@author: Bastian Schroll
|
||||
@description: Unittests for BOSWatch. File must be _run as "pytest" unittest
|
||||
"""
|
||||
|
||||
# import pytest # import the pytest framework
|
||||
import logging
|
||||
|
||||
from boswatch.descriptor.descriptor import Descriptor
|
||||
from boswatch.descriptor.descriptor import DescriptionList
|
||||
|
|
@ -25,6 +24,9 @@ from boswatch.packet.packet import Packet
|
|||
class Test_Descriptor:
|
||||
"""!Unittests for the descriptor"""
|
||||
|
||||
def setup_method(self, method):
|
||||
logging.debug("[TEST] %s.%s" % (type(self).__name__, method.__name__))
|
||||
|
||||
def test_loadCsvNotExist(self):
|
||||
"""!read CSV file where not exist direct per DescriptionList class"""
|
||||
descList = DescriptionList()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue