diff options
| author | Dan Prince <dan.prince@rackspace.com> | 2012-01-26 10:49:06 -0500 |
|---|---|---|
| committer | Dan Prince <dan.prince@rackspace.com> | 2012-01-26 12:23:43 -0500 |
| commit | 65b480c3ca9708baea0779f3f91d533499d7463d (patch) | |
| tree | 1e34ca1cb5fd3572e639d1df037a71af66a9cdbb /nova/tests | |
| parent | 6142230ccf2555650dbb902a5c342a342e9b2582 (diff) | |
Remove LazySerializationMiddleware.
Removes LazySerializationMiddleware and ExtensionMiddleware. They
are no longer in use.
Fixes LP Bug# 922152.
Change-Id: Icd0b54d474d807125f522965de0d89741b14cf2f
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/api/openstack/compute/contrib/test_admin_actions.py | 6 | ||||
| -rw-r--r-- | nova/tests/api/openstack/compute/contrib/test_scheduler_hints.py | 7 |
2 files changed, 2 insertions, 11 deletions
diff --git a/nova/tests/api/openstack/compute/contrib/test_admin_actions.py b/nova/tests/api/openstack/compute/contrib/test_admin_actions.py index f572b12d9..a5b1645d8 100644 --- a/nova/tests/api/openstack/compute/contrib/test_admin_actions.py +++ b/nova/tests/api/openstack/compute/contrib/test_admin_actions.py @@ -120,11 +120,7 @@ class CreateBackupTests(test.TestCase): self.stubs.Set(compute.API, 'get', fake_compute_api_get) self.backup_stubs = fakes.stub_out_compute_api_backup(self.stubs) - - router = compute_api.APIRouter() - ext_middleware = extensions.ExtensionMiddleware(router) - self.app = wsgi.LazySerializationMiddleware(ext_middleware) - + self.app = compute_api.APIRouter() self.uuid = utils.gen_uuid() def _get_request(self, body): diff --git a/nova/tests/api/openstack/compute/contrib/test_scheduler_hints.py b/nova/tests/api/openstack/compute/contrib/test_scheduler_hints.py index 7185873a7..167d46d02 100644 --- a/nova/tests/api/openstack/compute/contrib/test_scheduler_hints.py +++ b/nova/tests/api/openstack/compute/contrib/test_scheduler_hints.py @@ -32,13 +32,8 @@ class SchedulerHintsTestCase(test.TestCase): def setUp(self): super(SchedulerHintsTestCase, self).setUp() - self.fake_instance = fakes.stub_instance(1, uuid=UUID) - - app = compute.APIRouter() - app = extensions.ExtensionMiddleware(app) - app = wsgi.LazySerializationMiddleware(app) - self.app = app + self.app = compute.APIRouter() def test_create_server_without_hints(self): |
