def _check_precondition(self): ckan.verify_if_evaluser_exists() ckan.verify_if_organization_exists('tu-wien') ckan.reset_package_to_initial_state(PACKAGE, RESOURCE_FILE_LOCATION) ckan.verify_package_does_exist('rr-dataset') self._resource_id = ckan.verify_package_contains_resource('rr-dataset', {'name': 'countries_dataset.csv', 'datastore_active': True})
def _check_precondition(self): os.makedirs('gitrepository', exist_ok=True) GitUtil.purge_repository() self._resource_id = ckan.reset_package_to_initial_state(PACKAGE, RESOURCE_FILE_LOCATION) ckan.ensure_package_does_not_exist('rr-experiment') self.gitlab_util.verify_project_exists('rr-experiment')