Route53: Implement dummy GetChange endpoint (#3486)

* Route53: Implement dummy GetChange endpoint

* fix typo in GET_CHANGE_RESPONSE
This commit is contained in:
Rafael de Elvira 2020-11-20 07:21:05 +00:00 committed by GitHub
commit 8a95878a81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 0 deletions

View file

@ -1031,3 +1031,14 @@ def test_list_resource_record_sets_name_type_filters():
len(returned_records).should.equal(len(all_records) - start_with)
for desired_record in all_records[start_with:]:
returned_records.should.contain(desired_record)
@mock_route53
def test_get_change():
conn = boto3.client("route53", region_name="us-east-2")
change_id = "123456"
response = conn.get_change(Id=change_id)
response["ChangeInfo"]["Id"].should.equal(change_id)
response["ChangeInfo"]["Status"].should.equal("INSYNC")