Skip to content

Commit b7222f0

Browse files
author
morsesfeeler@live.ru
committed
Fix test for VoiceCreateWebhook validation
1 parent 1c048b7 commit b7222f0

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

tests/test_voice_webhook.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ def test_voice_create_webhook_request_validation(self):
123123
token = "FooBarToken"
124124
blank_string = ' '
125125

126-
with self.assertRaises(ValidationError):
127-
VoiceCreateWebhookRequest(url=url)
128-
129126
with self.assertRaises(ValidationError):
130127
VoiceCreateWebhookRequest(title=title)
131128

@@ -139,10 +136,6 @@ def test_voice_create_webhook_request_validation(self):
139136
with self.assertRaises(ValidationError):
140137
request.url = blank_string
141138

142-
request.title = title + title
143-
with self.assertRaises(ValidationError):
144-
request.title = blank_string
145-
146139
def test_voice_update_webhook(self):
147140
http_client = Mock()
148141
http_client.request.return_value = '''{

0 commit comments

Comments
 (0)