From d9427cf8120889c501ad59e3dca170fdaea957e7 Mon Sep 17 00:00:00 2001 From: "ade@google.com" Date: Mon, 3 Jan 2011 19:18:44 +0000 Subject: [PATCH] Changed the test for follower count for users who have hidden their follower count to accomodate back-end changes --- functional_tests/test_services.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functional_tests/test_services.py b/functional_tests/test_services.py index 17ee601..37a005e 100644 --- a/functional_tests/test_services.py +++ b/functional_tests/test_services.py @@ -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):