Remove unused SUBMITTED audit state
Submitted state is not referenced nor used in the Watcher codebase, and hence removed the references to the state from the codebase. Change-Id: Ibb0cf5125e2d93683739abf35030b7cf5cb1b056 Closes-Bug: 1634150
This commit is contained in:
@@ -693,7 +693,7 @@ class TestAuaditTemplatePolicyEnforcement(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):
|
||||
|
||||
Reference in New Issue
Block a user