def setUp(self): super(DBTestCase, self).setUp() self.env_dir = self._create_environment_folders() self.pylons_config = setup_environment_and_database(self.env_dir, enabled_plugins=self.enabled_plugins) add_default_data() DBSession.commit() config.push_process_config(self.pylons_config)
def setUp(self): super(DBTestCase, self).setUp() self.env_dir = self._create_environment_folders() self.pylons_config = setup_environment_and_database( self.env_dir, enabled_plugins=self.enabled_plugins) add_default_data() DBSession.commit() config.push_process_config(self.pylons_config)