def test_main(self): with app.app_context(): app.config["MEDIA_DIRS"] = [] lola = Indexer(app.config) nose.eq_(lola.run(), None)
def test_main(self): with app.app_context(): app.config['MEDIA_DIRS'] = [] lola = Indexer(app.config) nose.eq_(lola.run(), None)
def test_main(self): with shiva.app.test_request_context(): shiva.app.config['MEDIA_DIRS'] = [] lola = Indexer(shiva.app.config) nose.eq_(lola.run(), None)