Merge "Allow 200 as a response from /v2/zone/recordsets"

This commit is contained in:
Jenkins 2016-09-27 15:39:01 +00:00 committed by Gerrit Code Review
commit 700198187d
1 changed files with 3 additions and 2 deletions

View File

@ -60,8 +60,9 @@ class RecordsetClient(base.DnsClientV2Base):
'zones/{0}/recordsets'.format(zone_uuid), recordset_uuid,
data=recordet_data, params=params)
# Update Recordset should Return a HTTP 202
self.expected_success(202, resp.status)
# Update Recordset should Return a HTTP 202, or a 200 if the recordset
# is already active
self.expected_success([200, 202], resp.status)
return resp, body