File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ def test_voice_create_webhook(self):
109109 "self": "/webhooks/534e1848-235f-482d-983d-e3e11a04f58a"
110110 }
111111 }'''
112+
112113 create_webhook_request = VoiceCreateWebhookRequest (url = "https://example.com/" , title = "FooBar" , token = "foobar" )
113114 created_webhook = Client ('' , http_client ).voice_create_webhook (create_webhook_request )
114115
@@ -152,7 +153,7 @@ def test_voice_update_webhook(self):
152153 "self": "/webhooks/534e1848-235f-482d-983d-e3e11a04f58a"
153154 }
154155 }'''
155- webhook_id = 'webhook-id '
156+ webhook_id = '534e1848-235f-482d-983d-e3e11a04f58a '
156157 update_webhook_request = VoiceUpdateWebhookRequest (title = "FooBar" , token = "foobar" )
157158 updated_webhook = Client ('' , http_client ).voice_update_webhook (webhook_id , update_webhook_request )
158159
@@ -164,7 +165,7 @@ def test_voice_update_webhook(self):
164165 def test_voice_delete_webhook (self ):
165166 http_client = Mock ()
166167 http_client .request .return_value = ''
167- webhook_id = 'webhook-id '
168+ webhook_id = '534e1848-235f-482d-983d-e3e11a04f58a '
168169 Client ('' , http_client ).voice_delete_webhook (webhook_id )
169170
170171 http_client .request .assert_called_once_with (
You can’t perform that action at this time.
0 commit comments