From 45489f9814fce0f7b3f6c947076529962902f729 Mon Sep 17 00:00:00 2001 From: huangtianhua Date: Fri, 22 Nov 2013 16:21:19 +0800 Subject: [PATCH] Remove unused code in test_admin_actions.py Change-Id: I66fa378005d0e8b181274a47b1746a1fe787e716 Closes-Bug: #1253931 --- cinder/tests/api/contrib/test_admin_actions.py | 1 - 1 file changed, 1 deletion(-) 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' -- 2.45.2