From ae29620cd6953b95d240bc631bb3a4e1f009fe1f Mon Sep 17 00:00:00 2001 From: Eldinnie Date: Tue, 25 Jul 2017 20:31:30 +0200 Subject: [PATCH] Remove duplicate test (#748) --- tests/test_location.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/test_location.py b/tests/test_location.py index 30e5f1e69..fd1386b09 100644 --- a/tests/test_location.py +++ b/tests/test_location.py @@ -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