예제 #1
0
 def test_init_app_initializes_app(self, app, caplog):
     l = HadesLogs()
     with self.assert_registers_extension(app, caplog):
         l.init_app(app)
예제 #2
0
 def test_init_app_initializes_app(self):
     l = HadesLogs()
     with self.assert_registers_extension(self.app):
         l.init_app(self.app)
예제 #3
0
 def test_init_app_initializes_app(self, app, caplog):
     logs = HadesLogs()
     with assert_unconfigured(caplog):
         logs.init_app(app)
예제 #4
0
 def test_init_app_initializes_app(self):
     l = HadesLogs()
     with self.assert_unconfigured():
         l.init_app(self.app)