Merge "Remove unused SUBMITTED audit state"

This commit is contained in:
Jenkins
2016-11-14 15:09:57 +00:00
committed by Gerrit Code Review
5 changed files with 7 additions and 8 deletions

View File

@@ -697,7 +697,7 @@ class TestAuditTemplatePolicyEnforcement(api_base.FunctionalTest):
self._common_policy_check(
"audit_template:update", self.patch_json,
'/audit_templates/%s' % audit_template.uuid,
[{'path': '/state', 'value': objects.audit.State.SUBMITTED,
[{'path': '/state', 'value': objects.audit.State.SUCCEEDED,
'op': 'replace'}], expect_errors=True)
def test_policy_disallow_create(self):