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:
@@ -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')))
|
||||
|
Reference in New Issue
Block a user