예제 #1
0
#!/usr/bin/env python

from browsergrid.app import create_app
app = create_app()
app.run()
예제 #2
0
#!/usr/bin/env python
from browsergrid.app import init_db, create_app
a = create_app()
init_db(a)
print 'Done!'
예제 #3
0
 def setUp(self):
     self.app = create_app(TestSettings)
     with self.app.app_context():
         db.create_all()
     self.client = self.app.test_client()
     self.app.app_context().push()