@@ -60,12 +60,18 @@ def make_instance(self, include_optional) -> VerificationRequest:
6060 description = 'Opt In Flow' ,
6161 image_urls = [
6262 'https://www.example.com/path/to/resource'
63- ], ),
63+ ],
64+ confirmation_response = 'Thank you for opting in!' , ),
6465 additional_information = '' ,
6566 isv_reseller = 'Test ISV' ,
6667 privacy_policy_url = 'https://www.example.com/path/to/resource' ,
6768 terms_and_conditions_url = 'https://www.example.com/path/to/resource' ,
68- business_dba = 'Bandwidth Inc.'
69+ business_dba = 'Bandwidth Inc.' ,
70+ business_registration_number = '12-3456789' ,
71+ business_registration_type = 'EIN' ,
72+ business_entity_type = 'SOLE_PROPRIETOR' ,
73+ help_message_response = 'Please contact support for assistance.' ,
74+ age_gated_content = False
6975 )
7076 else :
7177 return VerificationRequest (
@@ -93,7 +99,8 @@ def make_instance(self, include_optional) -> VerificationRequest:
9399 description = 'Opt In Flow' ,
94100 image_urls = [
95101 'https://www.example.com/path/to/resource'
96- ], ),
102+ ],
103+ confirmation_response = 'Thank you for opting in!' , ),
97104 )
98105
99106 def testVerificationRequest (self ):
@@ -126,11 +133,17 @@ def testVerificationRequest(self):
126133 assert isinstance (instance .opt_in_workflow .image_urls , list )
127134 assert len (instance .opt_in_workflow .image_urls ) == 1
128135 assert instance .opt_in_workflow .image_urls [0 ] == 'https://www.example.com/path/to/resource'
136+ assert instance .opt_in_workflow .confirmation_response == 'Thank you for opting in!'
129137 assert instance .additional_information == ''
130138 assert instance .isv_reseller == 'Test ISV'
131139 assert instance .privacy_policy_url == 'https://www.example.com/path/to/resource'
132140 assert instance .terms_and_conditions_url == 'https://www.example.com/path/to/resource'
133141 assert instance .business_dba == 'Bandwidth Inc.'
142+ assert instance .business_registration_number == '12-3456789'
143+ assert instance .business_registration_type == 'EIN'
144+ assert instance .business_entity_type == 'SOLE_PROPRIETOR'
145+ assert instance .help_message_response == 'Please contact support for assistance.'
146+ assert instance .age_gated_content == False
134147
135148if __name__ == '__main__' :
136149 unittest .main ()
0 commit comments