diff options
| -rw-r--r-- | nova/tests/api/openstack/compute/test_versions.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/nova/tests/api/openstack/compute/test_versions.py b/nova/tests/api/openstack/compute/test_versions.py index fe19742a7..736ce838b 100644 --- a/nova/tests/api/openstack/compute/test_versions.py +++ b/nova/tests/api/openstack/compute/test_versions.py @@ -81,13 +81,7 @@ class VersionsTest(test.TestCase): def setUp(self): super(VersionsTest, self).setUp() fakes.stub_out_auth(self.stubs) - #Stub out VERSIONS - self.old_versions = versions.VERSIONS - versions.VERSIONS = VERSIONS - - def tearDown(self): - versions.VERSIONS = self.old_versions - super(VersionsTest, self).tearDown() + self.stubs.Set(versions, 'VERSIONS', VERSIONS) def test_get_version_list(self): req = webob.Request.blank('/') |
