From 75fdddd4d5b60b7b5be6b196d6c173a934e0b608 Mon Sep 17 00:00:00 2001 From: "ade@google.com" Date: Wed, 29 Sep 2010 16:44:00 +0100 Subject: [PATCH] Added Authentication tests which currently fail but are ignored --- functional_tests/test_services.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/functional_tests/test_services.py b/functional_tests/test_services.py index 5fe6557..7665d4b 100644 --- a/functional_tests/test_services.py +++ b/functional_tests/test_services.py @@ -85,5 +85,19 @@ class BuzzFunctionalTest(unittest.TestCase): self.assertEquals('111062888259659218284', person['id']) self.assertEquals('http://www.google.com/profiles/googlebuzz', person['profileUrl']) + +class BuzzAuthenticatedFunctionalTest(unittest.TestCase): + def IGNORE__test_can_list_groups_belonging_to_user(self): + buzz = build('buzz', 'v1') + groups = buzz.groups().list(userId='googlebuzz').execute() + + self.assertTrue(len(groups) > 1) + + def IGNORE__test_can_get_followees_of_user(self): + buzz = build('buzz', 'v1') + following = buzz.groups().get(userId='googlebuzz', groupId='@following').execute() + + self.assertEquals(17, len(following)) + if __name__ == '__main__': unittest.main()