Beispiel #1
0
 def setUp(self):
     '''
         Need to modify the setup so that it points to  a testing database rather
         then the dev database
         '''
     db.create_all()
Beispiel #2
0
#!/usr/bin/env python

from weather_app import db

db.create_all()
Beispiel #3
0
    def setUp(self):

        self.app = create_app(TestConfig)
        self.app_context = self.app.app_context()
        self.app_context.push()
        db.create_all()
 def setUp(self):
     '''
     Need to modify the setup so that it points to  a testing database rather
     then the dev database
     '''
     db.create_all()