Example #1
0
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()
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()
Example #3
0
 def setup(self):
     super(TestConfigurationWithManger, self).setup()
     self.uploads_manager = UploadsManager(self.app)
 def setup(self):
     super(TestConfigurationWithManger, self).setup()
     self.uploads_manager = UploadsManager(self.app)