示例#1
0
    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()
示例#2
0
 def setup(self):
     super(TestApiController, self).setup()
     h.load_fixture("cra")
示例#3
0
    def setup(self):
        h.skip_if_stubbed_solr()

        super(TestApiSearch, self).setup()
        h.load_fixture("cra")
        solr.build_index(dataset_name="cra")
示例#4
0
 def setup(self):
     super(TestEntryController, self).setup()
     h.load_fixture('cra')
     self.cra = model.Dataset.find_one({'name': 'cra'})
示例#5
0
 def setup(self):
     super(TestApi2Controller, self).setup()
     h.load_fixture('cra')
示例#6
0
    def setup(self):
        h.skip_if_stubbed_solr()

        super(TestSearchController, self).setup()
        h.load_fixture('cra')
        h.clean_and_reindex_solr()