mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-23 15:00:40 +01:00
Seems like self.address conflicts with nose. Validating...
This commit is contained in:
parent
6cacea96f7
commit
0d6b3a5411
1 changed files with 3 additions and 3 deletions
|
@ -42,7 +42,7 @@ class InlineQueryResultVenueTest(BaseTest, unittest.TestCase):
|
||||||
self.latitude = 'latitude'
|
self.latitude = 'latitude'
|
||||||
self.longitude = 'longitude'
|
self.longitude = 'longitude'
|
||||||
self.title = 'title'
|
self.title = 'title'
|
||||||
self.address = 'address'
|
self._address = 'address'
|
||||||
self.foursquare_id = 'foursquare id'
|
self.foursquare_id = 'foursquare id'
|
||||||
self.thumb_url = 'thumb url'
|
self.thumb_url = 'thumb url'
|
||||||
self.thumb_width = 10
|
self.thumb_width = 10
|
||||||
|
@ -57,7 +57,7 @@ class InlineQueryResultVenueTest(BaseTest, unittest.TestCase):
|
||||||
'latitude': self.latitude,
|
'latitude': self.latitude,
|
||||||
'longitude': self.longitude,
|
'longitude': self.longitude,
|
||||||
'title': self.title,
|
'title': self.title,
|
||||||
'address': self.address,
|
'address': self._address,
|
||||||
'foursquare_id': self.foursquare_id,
|
'foursquare_id': self.foursquare_id,
|
||||||
'thumb_url': self.thumb_url,
|
'thumb_url': self.thumb_url,
|
||||||
'thumb_width': self.thumb_width,
|
'thumb_width': self.thumb_width,
|
||||||
|
@ -74,7 +74,7 @@ class InlineQueryResultVenueTest(BaseTest, unittest.TestCase):
|
||||||
self.assertEqual(venue.latitude, self.latitude)
|
self.assertEqual(venue.latitude, self.latitude)
|
||||||
self.assertEqual(venue.longitude, self.longitude)
|
self.assertEqual(venue.longitude, self.longitude)
|
||||||
self.assertEqual(venue.title, self.title)
|
self.assertEqual(venue.title, self.title)
|
||||||
self.assertEqual(venue.address, self.address)
|
self.assertEqual(venue.address, self._address)
|
||||||
self.assertEqual(venue.foursquare_id, self.foursquare_id)
|
self.assertEqual(venue.foursquare_id, self.foursquare_id)
|
||||||
self.assertEqual(venue.thumb_url, self.thumb_url)
|
self.assertEqual(venue.thumb_url, self.thumb_url)
|
||||||
self.assertEqual(venue.thumb_width, self.thumb_width)
|
self.assertEqual(venue.thumb_width, self.thumb_width)
|
||||||
|
|
Loading…
Reference in a new issue