Merge "Trivial: Remove app_conf kwarg from testing setup"

This commit is contained in:
Zuul 2018-08-29 11:42:15 +00:00 committed by Gerrit Code Review
commit d80442af2b
2 changed files with 2 additions and 3 deletions

View File

@ -52,7 +52,7 @@ class RestfulTestCase(unit.TestCase):
# default content type to test
content_type = 'json'
def setUp(self, app_conf='keystone', enable_sqlite_foreign_key=False):
def setUp(self, enable_sqlite_foreign_key=False):
super(RestfulTestCase, self).setUp()
self.auth_plugin_config_override()

View File

@ -196,10 +196,9 @@ class RestfulTestCase(unit.SQLDriverOverrides, rest.RestfulTestCase,
config_files.append(unit.dirs.tests_conf('backend_sql.conf'))
return config_files
def setUp(self, app_conf='keystone', enable_sqlite_foreign_key=False):
def setUp(self, enable_sqlite_foreign_key=False):
"""Setup for v3 Restful Test Cases."""
super(RestfulTestCase, self).setUp(
app_conf=app_conf,
enable_sqlite_foreign_key=enable_sqlite_foreign_key)
self.empty_context = {'environment': {}}