diff options
author | Johannes Erdfelt <johannes.erdfelt@rackspace.com> | 2012-03-02 23:20:33 +0000 |
---|---|---|
committer | Johannes Erdfelt <johannes.erdfelt@rackspace.com> | 2012-03-02 23:21:37 +0000 |
commit | 19114203330b0bce8880cef39507faded18e3a71 (patch) | |
tree | 15e23d7743339bfa56fc856c9d88447eae06c38f /nova/tests/api/openstack/compute/test_auth.py | |
parent | 0bb52500249488e235bad4a64eaeee68e670e7f4 (diff) | |
download | nova-19114203330b0bce8880cef39507faded18e3a71.tar.gz |
fakes.fake_data_store doesn't exist, so don't reset it
Change-Id: Ic1aa13d33fa376974ed1e4b6ccf3216bbebb7d1e
Diffstat (limited to 'nova/tests/api/openstack/compute/test_auth.py')
-rw-r--r-- | nova/tests/api/openstack/compute/test_auth.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/nova/tests/api/openstack/compute/test_auth.py b/nova/tests/api/openstack/compute/test_auth.py index 2fcf5f7a63..21abbd2ea9 100644 --- a/nova/tests/api/openstack/compute/test_auth.py +++ b/nova/tests/api/openstack/compute/test_auth.py @@ -41,10 +41,6 @@ class Test(test.TestCase): fakes.stub_out_rate_limiting(self.stubs) fakes.stub_out_networking(self.stubs) - def tearDown(self): - fakes.fake_data_store = {} - super(Test, self).tearDown() - def test_authorize_user(self): f = fakes.FakeAuthManager() user = nova.auth.manager.User('id1', 'user1', 'user1_key', None, None) @@ -257,10 +253,6 @@ class TestLimiter(test.TestCase): fakes.FakeAuthDatabase.data = {} fakes.stub_out_networking(self.stubs) - def tearDown(self): - fakes.fake_data_store = {} - super(TestLimiter, self).tearDown() - def test_authorize_token(self): f = fakes.FakeAuthManager() user = nova.auth.manager.User('id1', 'user1', 'user1_key', None, None) @@ -294,10 +286,6 @@ class TestNoAuthMiddleware(test.TestCase): fakes.stub_out_rate_limiting(self.stubs) fakes.stub_out_networking(self.stubs) - def tearDown(self): - fakes.fake_data_store = {} - super(TestNoAuthMiddleware, self).tearDown() - def test_authorize_user(self): req = webob.Request.blank('/v2') req.headers['X-Auth-User'] = 'user1' |