mirror of
https://github.com/wassname/flask-security.git
synced 2026-09-12 12:21:37 +08:00
Add tests for Peewee support
This commit is contained in:
@@ -231,11 +231,11 @@ class MongoEngineSecurityTests(DefaultSecurityTests):
|
||||
return create_app(auth_config, **kwargs)
|
||||
|
||||
|
||||
# class PeeweeSecurityTests(DefaultSecurityTests):
|
||||
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)
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user