def __init__(self, cfg_manager): super(UserProcessingDatabaseManager, self).__init__() self._gateway = DbGateway.create_gateway(cfg_manager)
def setUp(self): cfg_manager= ConfigurationManager.ConfigurationManager() cfg_manager.append_module(configuration) self.gateway = DatabaseGateway.create_gateway(cfg_manager) self.gateway._delete_all_uses()