From 98516d4fa4a7f56e5133377b228ac8c90aed74c9 Mon Sep 17 00:00:00 2001 From: PanFengyun Date: Tue, 11 Oct 2016 10:54:01 +0800 Subject: [PATCH] Clean rc from unit tests Magnum have removed the k8s rc apis, but have not removed it from policy.json. The patch (https://review.openstack.org/#/c/384064/) remove rc from etc/magnum/policy.json. And we should remove rc from tests/fake_policy.py. Change-Id: Ia98e1637f2e3a5919be3784322a55005970d4da8 --- magnum/tests/fake_policy.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/magnum/tests/fake_policy.py b/magnum/tests/fake_policy.py index 29acd18ad5..0af888d960 100644 --- a/magnum/tests/fake_policy.py +++ b/magnum/tests/fake_policy.py @@ -32,13 +32,6 @@ policy_data = """ "baymodel:detail": "", "baymodel:get": "", "baymodel:get_all": "", - "baymodel:update": "", - - "rc:create": "", - "rc:delete": "", - "rc:detail": "", - "rc:get": "", - "rc:get_all": "", - "rc:update": "" + "baymodel:update": "" } """