We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b08b01 commit 971b3afCopy full SHA for 971b3af
messages/tests/test_messages.py
@@ -73,13 +73,11 @@ def test_send_message_with_failover():
73
response = messages.send(sms, failover=failover)
74
print(messages._http_client.last_request.body)
75
assert loads(messages._http_client.last_request.body) == {
76
- "message": {
77
- "to": "1234567890",
78
- "from": "Vonage APIs",
79
- "text": "Hello, World!",
80
- "channel": "sms",
81
- "message_type": "text",
82
- },
+ "to": "1234567890",
+ "from": "Vonage APIs",
+ "text": "Hello, World!",
+ "channel": "sms",
+ "message_type": "text",
83
"failover": [
84
{
85
"to": "1987654321",
0 commit comments