From: huangtianhua Date: Fri, 22 Nov 2013 08:21:19 +0000 (+0800) Subject: Remove unused code in test_admin_actions.py X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=45489f9814fce0f7b3f6c947076529962902f729;p=openstack-build%2Fcinder-build.git Remove unused code in test_admin_actions.py Change-Id: I66fa378005d0e8b181274a47b1746a1fe787e716 Closes-Bug: #1253931 --- diff --git a/cinder/tests/api/contrib/test_admin_actions.py b/cinder/tests/api/contrib/test_admin_actions.py index 8ee821477..9e517a59f 100644 --- a/cinder/tests/api/contrib/test_admin_actions.py +++ b/cinder/tests/api/contrib/test_admin_actions.py @@ -633,7 +633,6 @@ class AdminActionsTest(test.TestCase): def _migrate_volume_comp_exec(self, ctx, volume, new_volume, error, expected_status, expected_id): - admin_ctx = context.get_admin_context() req = webob.Request.blank('/v2/fake/volumes/%s/action' % volume['id']) req.method = 'POST' req.headers['content-type'] = 'application/json'