v/pol
1
0
mirror of https://github.com/taroved/pol synced 2025-05-17 23:00:10 -07:00
This commit is contained in:
Alexandr Nesterenko 2017-09-26 20:42:21 +03:00
parent c6721dc08d
commit e8a44d5dee

View File

@ -19,7 +19,9 @@ class MFTests(object):
def test_log_handler(self): def test_log_handler(self):
handler = LogHandler() handler = LogHandler()
self.log.info('Test msg with {parameter} is OK', parameter="value") self.log.info('Test msg with {parameter} is OK', parameter="value")
self.log.error('Test error with {parameter} is OK', parameter="value", isError=True) self.log.error('Test error with {parameter} is OK', parameter="value")
self.log.error('Test error with {parameter} (isError={isError}) is OK', parameter="value", isError=False)
self.log.error('Test error with {parameter} (isError={isError}) is OK', parameter="value", isError=True)
d = defer.Deferred() d = defer.Deferred()
reactor.callLater(0, d.callback, None) reactor.callLater(0, d.callback, None)