@@ -59,7 +59,10 @@ class TestNotificationUrl(bunq_test.BunqSdkTestCase):
5959 # Model root key.
6060 _KEY_NOTIFICATION_URL_MODEL = 'NotificationUrl'
6161
62- def execute_test (self , file_path , class_name , getter_name ):
62+ def execute_notification_url_test (self ,
63+ file_path ,
64+ class_name ,
65+ getter_name ):
6366 """
6467 :type file_path: str
6568 :type class_name: str
@@ -130,91 +133,91 @@ def getNotificationUrl(self, file_path):
130133 )
131134
132135 def test_mutation_model (self ):
133- self .execute_test (
136+ self .execute_notification_url_test (
134137 self .JSON_PATH_MUTATION_MODEL ,
135138 endpoint .Payment .__name__ ,
136139 self ._GET_PAYMENT
137140 )
138141
139142 def test_bunq_me_tab_model (self ):
140- self .execute_test (
143+ self .execute_notification_url_test (
141144 self .JSON_PATH_BUNQ_ME_TAB_MODEL ,
142145 endpoint .BunqMeTab .__name__ ,
143146 self ._GET_BUNQ_ME_TAB
144147 )
145148
146149 def test_chat_message_announcement_model (self ):
147- self .execute_test (
150+ self .execute_notification_url_test (
148151 self .JSON_PATH_CHAT_MESSAGE_ANNOUNCEMENT_MODEL ,
149152 endpoint .ChatMessageAnnouncement .__name__ ,
150153 self ._GET_CHAT_MESSAGE_ANNOUNCEMENT
151154 )
152155
153156 def test_draft_payment_model (self ):
154- self .execute_test (
157+ self .execute_notification_url_test (
155158 self .JSON_PATH_DRAFT_PAYMENT_MODEL ,
156159 endpoint .DraftPayment .__name__ ,
157160 self ._GET_DRAFT_PAYMENT
158161 )
159162
160163 def test_mastercard_action (self ):
161- self .execute_test (
164+ self .execute_notification_url_test (
162165 self .JSON_PATH_MASTER_CARD_ACTION_MODEL ,
163166 endpoint .MasterCardAction .__name__ ,
164167 self ._GET_MASTER_CARD_ACTION
165168 )
166169
167170 def test_monetary_account_bank_model (self ):
168- self .execute_test (
171+ self .execute_notification_url_test (
169172 self .JSON_PATH_MONETARY_ACCOUNT_BANK_MODEL ,
170173 endpoint .MonetaryAccountBank .__name__ ,
171174 self ._GET_MONETARY_ACCOUNT_BANK
172175 )
173176
174177 def test_payment_batch_model (self ):
175- self .execute_test (
178+ self .execute_notification_url_test (
176179 self .JSON_PATH_PAYMENT_BATCH_MODEL ,
177180 endpoint .PaymentBatch .__name__ ,
178181 self ._GET_PAYMENT_BATCH
179182 )
180183
181184 def test_request_inquiry_model (self ):
182- self .execute_test (
185+ self .execute_notification_url_test (
183186 self .JSON_PATH_REQUEST_INQUIRY_MODEL ,
184187 endpoint .RequestInquiry .__name__ ,
185188 self ._GET_REQUEST_INQUIRY
186189 )
187190
188191 def test_request_response_model (self ):
189- self .execute_test (
192+ self .execute_notification_url_test (
190193 self .JSON_PATH_REQUEST_RESPONSE_MODEL ,
191194 endpoint .RequestResponse .__name__ ,
192195 self ._GET_REQUEST_RESPONSE
193196 )
194197
195198 def test_scheduled_payment_model (self ):
196- self .execute_test (
199+ self .execute_notification_url_test (
197200 self .JSON_PATH_SCHEDULE_PAYMENT_MODEL ,
198201 endpoint .SchedulePayment .__name__ ,
199202 self ._GET_SCHEDULE_PAYMENT
200203 )
201204
202205 def test_scheduled_instance_model (self ):
203- self .execute_test (
206+ self .execute_notification_url_test (
204207 self .JSON_PATH_SCHEDULE_INSTANCE_MODEL ,
205208 endpoint .ScheduleInstance .__name__ ,
206209 self ._GET_SCHEDULE_INSTANCE
207210 )
208211
209212 def test_share_invite_bank_inquiry (self ):
210- self .execute_test (
213+ self .execute_notification_url_test (
211214 self .JSON_PATH_SHARE_INVITE_BANK_INQUIRY_MODEL ,
212215 endpoint .ShareInviteBankInquiry .__name__ ,
213216 self ._GET_SHARE_INVITE_BANK_INQUIRY
214217 )
215218
216219 def test_share_invite_bank_response (self ):
217- self .execute_test (
220+ self .execute_notification_url_test (
218221 self .JSON_PATH_SHARE_INVITE_BANK_RESPONSE_MODEL ,
219222 endpoint .ShareInviteBankResponse .__name__ ,
220223 self ._GET_SHARE_INVITE_BANK_RESPONSE
0 commit comments