Пример #1
0
 def test_isLogObserver(self):
     assert ILogObserver.providedBy(plainJSONStdOutLogger())
Пример #2
0
 def test_isLogObserver(self):
     assert ILogObserver.providedBy(PlainFileLogObserver(StringIO()))
Пример #3
0
 def test_isLogObserver(self):
     assert ILogObserver.providedBy(PlainFileLogObserver(StringIO()))
Пример #4
0
 def test_isLogObserver(self):
     assert ILogObserver.providedBy(plainJSONStdOutLogger())
Пример #5
0
 def test_isLogObserver(self, sio):
     assert ILogObserver.providedBy(PlainFileLogObserver(sio))