Fix test_create_policy fail
Variable formdata is not a dict,need fix. Change-Id: Ica29d93ac686c6a883fccd58d87c5fb76ff9ceff
This commit is contained in:
parent
279ff67db0
commit
26552e8344
|
@ -78,7 +78,7 @@ class PoliciesTest(test.TestCase):
|
|||
|
||||
formdata = {
|
||||
'name': 'test-policy',
|
||||
'spec': spec_yaml,
|
||||
'spec': yaml.load(spec_yaml),
|
||||
'cooldown': 0,
|
||||
'level': 0
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue