Fix test_create_policy fail

Variable formdata is not a dict,need fix.

Change-Id: Ica29d93ac686c6a883fccd58d87c5fb76ff9ceff
This commit is contained in:
jonnary 2016-08-30 16:35:14 +08:00
parent 279ff67db0
commit 26552e8344
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class PoliciesTest(test.TestCase):
formdata = {
'name': 'test-policy',
'spec': spec_yaml,
'spec': yaml.load(spec_yaml),
'cooldown': 0,
'level': 0
}