def test_init_app_initializes_app(self, app, caplog): l = HadesLogs() with self.assert_registers_extension(app, caplog): l.init_app(app)
def test_init_app_initializes_app(self): l = HadesLogs() with self.assert_registers_extension(self.app): l.init_app(self.app)
def test_init_app_initializes_app(self, app, caplog): logs = HadesLogs() with assert_unconfigured(caplog): logs.init_app(app)
def test_init_app_initializes_app(self): l = HadesLogs() with self.assert_unconfigured(): l.init_app(self.app)