Make test_app take kwargs

This commit is contained in:
Eskil Heyn Olsen
2013-01-06 20:00:13 -08:00
parent 1a87a4cd0c
commit 09fe5a2cb7
5 changed files with 36 additions and 16 deletions
+4 -4
View File
@@ -201,9 +201,9 @@ class DefaultSecurityTests(SecurityTest):
class MongoEngineSecurityTests(DefaultSecurityTests):
def _create_app(self, auth_config):
def _create_app(self, auth_config, **kwargs):
from tests.test_app.mongoengine import create_app
return create_app(auth_config)
return create_app(auth_config, **kwargs)
class DefaultDatastoreTests(SecurityTest):
@@ -231,6 +231,6 @@ class DefaultDatastoreTests(SecurityTest):
class MongoEngineDatastoreTests(DefaultDatastoreTests):
def _create_app(self, auth_config):
def _create_app(self, auth_config, **kwargs):
from tests.test_app.mongoengine import create_app
return create_app(auth_config)
return create_app(auth_config, **kwargs)