示例#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)