From 63909069bfda1c0adef526037ce261ab2cd1cfc8 Mon Sep 17 00:00:00 2001 From: Brant Knudson Date: Sun, 9 Mar 2014 21:00:31 -0500 Subject: [PATCH] Remove unnecessary calls to self.config() tests.TestCase:setUp calls self.config(), so there's no need to call it again. Change-Id: I02d460d5b0fa7b885f1134198c3215bc69649461 --- keystone/tests/test_auth_plugin.py | 1 - keystone/tests/test_v3.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/keystone/tests/test_auth_plugin.py b/keystone/tests/test_auth_plugin.py index d401cd7aa9..4c82bba951 100644 --- a/keystone/tests/test_auth_plugin.py +++ b/keystone/tests/test_auth_plugin.py @@ -57,7 +57,6 @@ class NoMethodAuthPlugin(auth.AuthMethodHandler): class TestAuthPlugin(tests.TestCase): def setUp(self): super(TestAuthPlugin, self).setUp() - self.config(self.config_files()) self.load_backends() # need to register the token provider first because auth controller diff --git a/keystone/tests/test_v3.py b/keystone/tests/test_v3.py index d6c7e77fea..d810f20ea7 100644 --- a/keystone/tests/test_v3.py +++ b/keystone/tests/test_v3.py @@ -91,8 +91,6 @@ class RestfulTestCase(rest.RestfulTestCase): self.addCleanup(self.teardown_database) def load_backends(self): - self.config(self.config_files()) - self.setup_database() # ensure the cache region instance is setup