8000 removed a long failing test that could be confusing · ryanhorn/twilio-python@a48af1a · GitHub
[go: up one dir, main page]

Skip to content

Commit a48af1a

Browse files
committed
removed a long failing test that could be confusing
1 parent 3997bcc commit a48af1a

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

tests/test_validation.py

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -50,34 +50,3 @@ def test_validation(self):
5050

5151
self.assertEquals(validator.compute_signature(uri, params), expected)
5252
self.assertTrue(validator.validate(uri, params, expected))
53-
54-
@unittest.skip("utf 8 support still a work in progress")
55-
def te_st_international_sms(self):
56-
57-
token = os.environ["TWILIO_AUTH_TOKEN"]
58-
validator = RequestValidator(token)
59-
60-
uri = "http://www.postbin.org/1c2pdoc"
61-
params = {
62-
"AccountSid": "AC4bf2dafb92341f7caf8650403e422d23",
63-
"ApiVersion": "2010-04-01",
64-
"Body": "Chloéñ",
65-
"From": "+15305451766",
66-
"FromCity": "SOUTH LAKE TAHOE",
67-
"FromCountry": "US",
68-
"FromState": "CA",
69-
"FromZip": "89449",
70-
"SmsMessageSid": "SM51d6d055f53f1072543872c601aae89b",
71-
"SmsStatus": "SM51d6d055f53f1072543872c601aae89b",
72-
"SmsStatus": "received",
73-
"To": "+15304194304",
74-
"ToCity": "WOODLAND",
75-
"ToCountry": "US",
76-
"ToState": "CA",
77-
"ToZip": "95695",
78-
}
79-
80-
expected = "UHkWu+6WLOzPunzb8PuCGPeW1Uw="
81-
82-
self.assertEquals(validator.compute_signature(uri, params), expected)
83-
self.assertTrue(validator.validate(uri, params, expected))

0 commit comments

Comments
 (0)
0