Skip to content

Commit 88e49bd

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)