mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 15:17:00 +01:00
Remove duplicate test (#748)
This commit is contained in:
parent
8d1d38cc4c
commit
ae29620cd6
1 changed files with 0 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue