Beispiel #1
0
 def test_main(self):
     with app.app_context():
         app.config["MEDIA_DIRS"] = []
         lola = Indexer(app.config)
         nose.eq_(lola.run(), None)
Beispiel #2
0
 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)