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 f1af012 commit f4112abCopy full SHA for f4112ab
tests/api/test_error_handle.py
@@ -92,7 +92,7 @@ def test_error_with_detail_handle(self):
92
self.assertEqual(e.error.details[1].property, 'messages[1].type')
93
94
@responses.activate
95
- def test_error_handle_get_content(self):
+ def test_error_handle_get_message_content(self):
96
responses.add(
97
responses.GET,
98
LineBotApi.DEFAULT_API_ENDPOINT + '/v2/bot/message/1/content',
@@ -103,7 +103,7 @@ def test_error_handle_get_content(self):
103
)
104
105
try:
106
- self.tested.get_content(1)
+ self.tested.get_message_content(1)
107
except LineBotApiError as e:
108
self.assertEqual(e.status_code, 404)
109
self.assertEqual(e.error.message, 'Invalid reply token')
0 commit comments