Merge "Fixed tense consistency (used past) in statuses"

This commit is contained in:
Jenkins
2015-12-03 11:06:37 +00:00
committed by Gerrit Code Review
13 changed files with 24 additions and 23 deletions

View File

@@ -467,7 +467,7 @@ class TestPatch(api_base.FunctionalTest):
self.assertTrue(response.json['error_message'])
def test_add_ok(self):
new_state = 'SUCCESS'
new_state = 'SUCCEEDED'
response = self.patch_json(
'/actions/%s' % self.action.uuid,
[{'path': '/state', 'value': new_state, 'op': 'add'}])

View File

@@ -360,7 +360,7 @@ class TestPatch(api_base.FunctionalTest):
self.assertTrue(response.json['error_message'])
def test_add_ok(self):
new_state = 'SUCCESS'
new_state = 'SUCCEEDED'
response = self.patch_json(
'/audits/%s' % self.audit.uuid,
[{'path': '/state', 'value': new_state, 'op': 'add'}])