

def test_update_policy_rule_unset_actions(self):
    resource = 'policy_rule'
    policy_actions_res = []
    policy_actions_arg = ''
    my_id = 'someid'
    cmd = gbp.UpdatePolicyRule(test_cli20.MyApp(sys.stdout), None)
    body = {
        'policy_actions': policy_actions_res,
    }
    args = [my_id, '--actions', policy_actions_arg]
    self._test_update_resource(resource, cmd, my_id, args, cmd)

dataset/ETHPy150Open openstack/python-group-based-policy-client/gbpclient/tests/unit/test_cli20_policyrule.py CLITestV20PolicyRuleJSON.test_update_policy_rule_unset_actions/VarMisuse@78/133 `body`->`cmd`