Skip to content

Commit 88e49bd

Browse files
committed
Update test case.
1 parent acdc205 commit 88e49bd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tests/test_telebot.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ def test_send_venue(self):
331331
lon = -161.2901042
332332
ret_msg = tb.send_venue(CHAT_ID, lat, lon, "Test Venue", "1123 Test Venue address")
333333
assert ret_msg.venue.title == "Test Venue"
334+
assert int(lat) == int(ret_msg.venue.location.latitude)
334335

335336
def test_send_venue_dis_noti(self):
336337
tb = telebot.TeleBot(TOKEN)

0 commit comments

Comments
 (0)