Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions tests/test_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,6 @@ def test_location_to_dict(self):
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

Expand Down