def test_update_policy_action(self):
        resource = 'policy_action'
        cmd = gbp.UpdatePolicyAction(test_cli20.MyApp(sys.stdout), None)
        self._test_update_resource(resource, cmd, 'myid',
                                   ['myid', '--name', 'myname',
                                    '--tags', 'a', 'b'],
                                   {'name': 'myname', 'tags': ['a', 'b'], })
grouppolicy-policy-action-update  myid --name myname --tags a b.
dataset/ETHPy150Open openstack/python-group-based-policy-client/gbpclient/tests/unit/test_cli20_policyaction.py/CLITestV20PolicyActionJSON.test_update_policy_action