Remove duplicate test (#748)

This commit is contained in:
Eldinnie 2017-07-25 20:31:30 +02:00 committed by Noam Meltzer
parent 8d1d38cc4c
commit ae29620cd6

View file

@ -79,15 +79,6 @@ class LocationTest(BaseTest, unittest.TestCase):
self.assertEqual(location['latitude'], self.latitude)
self.assertEqual(location['longitude'], self.longitude)
def test_error_send_location_empty_args(self):
json_dict = self.json_dict
json_dict['latitude'] = ''
json_dict['longitude'] = ''
with self.assertRaises(TypeError):
self._bot.sendLocation(chat_id=self._chat_id, **json_dict)
def test_error_location_without_required_args(self):
json_dict = self.json_dict