Skip to content

Commit f4112ab

Browse files
committed
fix test.
1 parent f1af012 commit f4112ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/api/test_error_handle.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def test_error_with_detail_handle(self):
9292
self.assertEqual(e.error.details[1].property, 'messages[1].type')
9393

9494
@responses.activate
95-
def test_error_handle_get_content(self):
95+
def test_error_handle_get_message_content(self):
9696
responses.add(
9797
responses.GET,
9898
LineBotApi.DEFAULT_API_ENDPOINT + '/v2/bot/message/1/content',
@@ -103,7 +103,7 @@ def test_error_handle_get_content(self):
103103
)
104104

105105
try:
106-
self.tested.get_content(1)
106+
self.tested.get_message_content(1)
107107
except LineBotApiError as e:
108108
self.assertEqual(e.status_code, 404)
109109
self.assertEqual(e.error.message, 'Invalid reply token')

0 commit comments

Comments
 (0)