class TestConfigurationWithManger(TestConfiguration): def setup(self): super(TestConfigurationWithManger, self).setup() self.uploads_manager = UploadsManager(self.app) def configure(self, *sets, **options): self.app.config.update(options) self.uploads_manager.register(sets) return self.app.upload_set_config def teardown(self): del self.uploads_manager super(TestConfigurationWithManger, self).teardown()
def setup(self): super(TestConfigurationWithManger, self).setup() self.uploads_manager = UploadsManager(self.app)