Merge "Policy binding attach cannot work"

This commit is contained in:
Jenkins
2016-11-08 03:01:06 +00:00
committed by Gerrit Code Review

View File

@@ -1260,11 +1260,11 @@ class ShellTest(testtools.TestCase):
args = {
'id': 'C1',
'policy': 'P1',
'enabled': 'True',
'enabled': True,
}
args = self._make_args(args)
kwargs = {
'enabled': 'True',
'enabled': True,
}
service.cluster_attach_policy.return_value = {'action': 'action_id'}
sh.do_cluster_policy_attach(service, args)