Unit-tests for flask-peewee

This commit is contained in:
Manuel Ebert
2013-01-25 16:53:01 -08:00
parent 5687f2f5a9
commit 70b11d9015
4 changed files with 71 additions and 1 deletions
+7
View File
@@ -224,6 +224,13 @@ class MongoEngineSecurityTests(DefaultSecurityTests):
return create_app(auth_config, **kwargs)
class PeeweeSecurityTests(DefaultSecurityTests):
def _create_app(self, auth_config, **kwargs):
from tests.test_app.peewee_app import create_app
return create_app(auth_config, **kwargs)
class DefaultDatastoreTests(SecurityTest):
def test_add_role_to_user(self):