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