2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-31 06:15:49 +00:00

remove unused BatchChangeInfoSerializer (#776)

* remove unused BatchChangeInfoSerializer

* with extra validation
This commit is contained in:
Rebecca Star
2019-07-30 14:11:12 -04:00
committed by GitHub
parent a72c7faf0a
commit eefa2a3392
4 changed files with 8 additions and 77 deletions

View File

@@ -23,6 +23,10 @@ def test_get_batch_change_success(shared_zone_test_context):
result = client.get_batch_change(batch_change['id'], status=200)
assert_that(result, is_(completed_batch))
assert_that(result['userId'], is_('ok'))
assert_that(result['userName'], is_('ok'))
assert_that(result, has_key('createdTimestamp'))
assert_that(result['status'], is_('Complete'))
assert_that(result['approvalStatus'], is_('AutoApproved'))
assert_that(result, is_not(has_key('reviewerId')))
assert_that(result, is_not(has_key('reviewerUserName')))