def setUp(self): settings.CELERY_ALWAYS_EAGER = True self.solr = utils.get_test_solr() self.upload = utils.get_test_upload() self.dataset = utils.get_test_dataset(self.upload)
def setUp(self): settings.CELERY_ALWAYS_EAGER = True self.solr = utils.get_test_solr() self.upload = utils.get_test_upload() self.dataset = utils.get_test_dataset(self.upload) self.dataset.import_data() sleep(utils.SLEEP_DELAY) self.client = Client()