Added Authentication tests which currently fail but are ignored

This commit is contained in:
ade@google.com
2010-09-29 16:44:00 +01:00
parent 7ebb2ca822
commit 75fdddd4d5

View File

@@ -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()