def setup(self): h.skip_if_stubbed_solr() super(TestClassifierController, self).setup() h.load_fixture('cra') h.clean_and_reindex_solr() self.db = mongo.db()
def setup(self): super(TestApiController, self).setup() h.load_fixture("cra")
def setup(self): h.skip_if_stubbed_solr() super(TestApiSearch, self).setup() h.load_fixture("cra") solr.build_index(dataset_name="cra")
def setup(self): super(TestEntryController, self).setup() h.load_fixture('cra') self.cra = model.Dataset.find_one({'name': 'cra'})
def setup(self): super(TestApi2Controller, self).setup() h.load_fixture('cra')
def setup(self): h.skip_if_stubbed_solr() super(TestSearchController, self).setup() h.load_fixture('cra') h.clean_and_reindex_solr()