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
changes/02/384802/1
PanFengyun 6 years ago committed by PanFengyun
parent ba11900215
commit 98516d4fa4
  1. 9
      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": ""
}
"""

Loading…
Cancel
Save