mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-11 01:59:12 +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['latitude'], self.latitude)
|
||||||
self.assertEqual(location['longitude'], self.longitude)
|
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):
|
def test_error_location_without_required_args(self):
|
||||||
json_dict = self.json_dict
|
json_dict = self.json_dict
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue