コード例 #1
0
ファイル: test_fields.py プロジェクト: cameronbwhite/acmapi
    def setUp(self):
        self.app = Flask(__name__)

        self.app.testing = True
        
        self.app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite://'
        
        DB.init_app(self.app)
        
        API.init_app(self.app)