Bugfixes in logger

This commit is contained in:
2020-11-27 18:12:09 +01:00
parent e76b293f60
commit 0df6d469ab
2 changed files with 3 additions and 3 deletions

View File

@@ -210,4 +210,4 @@ class LoggerTest(unittest.TestCase):
print('Cannot open log file', e)
self.assertGreater(len(log_content), 0)
self.assertTrue(log_content[len(log_content) - 1].endswith(f'[ ERROR ] [ {__name__} ]: {__name__}.test_fatal:\n'))
self.assertTrue(log_content[len(log_content) - 1].endswith(f'[ FATAL ] [ {__name__} ]: {__name__}.test_fatal:\n'))