1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Update test case.

This commit is contained in:
eternnoir 2016-09-17 07:55:25 +08:00
parent acdc2058c5
commit 88e49bdaef

View File

@ -331,6 +331,7 @@ class TestTeleBot:
lon = -161.2901042
ret_msg = tb.send_venue(CHAT_ID, lat, lon, "Test Venue", "1123 Test Venue address")
assert ret_msg.venue.title == "Test Venue"
assert int(lat) == int(ret_msg.venue.location.latitude)
def test_send_venue_dis_noti(self):
tb = telebot.TeleBot(TOKEN)