From 88e49bdaef7c429d8bcfdcb16fadee67843d8b6f Mon Sep 17 00:00:00 2001 From: eternnoir Date: Sat, 17 Sep 2016 07:55:25 +0800 Subject: [PATCH] Update test case. --- tests/test_telebot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_telebot.py b/tests/test_telebot.py index 0923a18..b49e7e1 100644 --- a/tests/test_telebot.py +++ b/tests/test_telebot.py @@ -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)