diff --git a/tests/_base.py b/tests/_base.py index dc95d1ff..c14bbb3a 100644 --- a/tests/_base.py +++ b/tests/_base.py @@ -32,7 +32,8 @@ def setUp(self): 'OAUTH1_PROVIDER_ENFORCE_SSL': False, 'OAUTH1_PROVIDER_KEY_LENGTH': (3, 30), 'OAUTH1_PROVIDER_REALMS': ['email', 'address'], - 'SQLALCHEMY_DATABASE_URI': 'sqlite:///%s' % self.db_file + 'SQLALCHEMY_DATABASE_URI': 'sqlite:///%s' % self.db_file, + 'SQLALCHEMY_TRACK_MODIFICATIONS': False } app.config.update(config) diff --git a/tests/test_oauth2/base.py b/tests/test_oauth2/base.py index bb8a3f82..2fee2d22 100644 --- a/tests/test_oauth2/base.py +++ b/tests/test_oauth2/base.py @@ -313,6 +313,7 @@ def create_app(self): app.debug = True app.secret_key = 'testing' app.config.update({ - 'SQLALCHEMY_DATABASE_URI': 'sqlite://' + 'SQLALCHEMY_DATABASE_URI': 'sqlite://', + 'SQLALCHEMY_TRACK_MODIFICATIONS': False }) return app