|
36 | 36 | from bandwidth.models.opt_in_workflow import OptInWorkflow |
37 | 37 | from bandwidth.models.verification_request import VerificationRequest |
38 | 38 | from bandwidth.models.tfv_submission_wrapper import TfvSubmissionWrapper |
| 39 | +from bandwidth.models.tfv_submission_info import TfvSubmissionInfo |
| 40 | +from bandwidth.models.business_registration_type_enum import BusinessRegistrationTypeEnum |
| 41 | +from bandwidth.models.business_entity_type_enum import BusinessEntityTypeEnum |
39 | 42 |
|
40 | 43 |
|
41 | 44 | class TestTollFreeVerificationApi(unittest.TestCase): |
@@ -90,7 +93,16 @@ def setUpClass(cls) -> None: |
90 | 93 | confirmation_response='confirmationResponse' |
91 | 94 | ), |
92 | 95 | 'additionalInformation': 'additionalInformation', |
93 | | - 'isvReseller': 'isvReseller' |
| 96 | + 'isvReseller': 'isvReseller', |
| 97 | + 'privacyPolicyUrl': 'https://example.com', |
| 98 | + 'termsAndConditionsUrl': 'https://example.com', |
| 99 | + 'businessDba': 'businessDba', |
| 100 | + 'businessRegistrationNumber': 'businessRegistrationNumber', |
| 101 | + 'businessRegistrationType': BusinessRegistrationTypeEnum.EIN, |
| 102 | + 'businessEntityType': BusinessEntityTypeEnum.NON_PROFIT, |
| 103 | + 'helpMessageResponse': 'helpMessageResponse', |
| 104 | + 'ageGatedContent': True, |
| 105 | + 'cvToken': 'cvToken' |
94 | 106 | } |
95 | 107 |
|
96 | 108 | def test_create_webhook_subscription(self) -> None: |
@@ -137,6 +149,10 @@ def test_get_toll_free_verification_status(self) -> None: |
137 | 149 | assert_that(response.data.resubmit_allowed, instance_of(bool)) |
138 | 150 | assert_that(response.data.created_date_time, instance_of(datetime)) |
139 | 151 | assert_that(response.data.modified_date_time, instance_of(datetime)) |
| 152 | + assert_that(response.data.submission, instance_of(TfvSubmissionInfo)) |
| 153 | + assert_that(response.data.blocked, instance_of(bool)) |
| 154 | + assert_that(response.data.blocked_reason, instance_of(str)) |
| 155 | + assert_that(response.data.cv_token, instance_of(str)) |
140 | 156 |
|
141 | 157 | def test_delete_verification_request(self) -> None: |
142 | 158 | """Test case for delete_verification_request |
|
0 commit comments