From ed7ecddb8d62da77d0fb9b259dbfb8ae357f5544 Mon Sep 17 00:00:00 2001 From: Leandro Toledo Date: Tue, 26 Apr 2016 18:50:47 -0300 Subject: [PATCH] address to _address due nose limitations --- tests/test_venue.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_venue.py b/tests/test_venue.py index 864f51fa1..3ea9a83db 100644 --- a/tests/test_venue.py +++ b/tests/test_venue.py @@ -37,13 +37,13 @@ class VenueTest(BaseTest, unittest.TestCase): def setUp(self): self.location = telegram.Location(longitude=1., latitude=0.) self.title = 'title' - self.address = 'address' + self._address = '_address' self.foursquare_id = 'foursquare id' self.json_dict = { 'location': self.location.to_dict(), 'title': self.title, - 'address': self.address, + 'address': self._address, 'foursquare_id': self.foursquare_id } @@ -52,7 +52,7 @@ class VenueTest(BaseTest, unittest.TestCase): self.assertTrue(isinstance(sticker.location, telegram.Location)) self.assertEqual(sticker.title, self.title) - self.assertEqual(sticker.address, self.address) + self.assertEqual(sticker.address, self._address) self.assertEqual(sticker.foursquare_id, self.foursquare_id) def test_sticker_to_json(self):