log testname on test run

This commit is contained in:
Bastian Schroll 2018-01-12 07:48:27 +01:00
parent 5f6addfbc8
commit e10a51dd02
6 changed files with 27 additions and 12 deletions

View file

@ -14,9 +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.utils import header
@ -24,6 +22,9 @@ from boswatch.utils import header
class Test_Header:
"""!Unittests for the header"""
def setup_method(self, method):
logging.debug("[TEST] %s.%s" % (type(self).__name__, method.__name__))
def test_logoToLog(self):
"""!Test logo to log"""
assert header.logoToLog()