We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d1d38c commit ae29620Copy full SHA for ae29620
tests/test_location.py
@@ -79,15 +79,6 @@ def test_location_to_dict(self):
79
self.assertEqual(location['latitude'], self.latitude)
80
self.assertEqual(location['longitude'], self.longitude)
81
82
- def test_error_send_location_empty_args(self):
83
- json_dict = self.json_dict
84
-
85
- json_dict['latitude'] = ''
86
- json_dict['longitude'] = ''
87
88
- with self.assertRaises(TypeError):
89
- self._bot.sendLocation(chat_id=self._chat_id, **json_dict)
90
91
def test_error_location_without_required_args(self):
92
json_dict = self.json_dict
93
0 commit comments