Changed the test for follower count for users who have hidden their follower count to accomodate back-end changes

This commit is contained in:
ade@google.com
2011-01-03 19:18:44 +00:00
parent 5d716f6c23
commit d9427cf812

View File

@@ -131,11 +131,11 @@ class BuzzFunctionalTest(unittest.TestCase):
follower_count = following['totalResults']
self.assertTrue(follower_count > 10000, follower_count)
def test_follower_count_is_zero_for_user_with_hidden_follower_count(self):
def test_follower_count_is_missing_for_user_with_hidden_follower_count(self):
buzz = build('buzz', 'v1')
following = buzz.people().list(userId='adewale', groupId='@followers').execute()
self.assertEquals(0, following['totalResults'])
self.assertFalse('totalResults' in following)
class BuzzAuthenticatedFunctionalTest(unittest.TestCase):