From c36ac535c80bb237dfb538a974a8246b457a85b5 Mon Sep 17 00:00:00 2001 From: "ade@google.com" Date: Mon, 25 Oct 2010 15:22:50 -0400 Subject: [PATCH] Group listing bug is now fixed in the Buzz back-end so I've enabled the test --- functional_tests/test_services.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/functional_tests/test_services.py b/functional_tests/test_services.py index 19d4ada..65d003c 100644 --- a/functional_tests/test_services.py +++ b/functional_tests/test_services.py @@ -228,11 +228,9 @@ class BuzzAuthenticatedFunctionalTest(unittest.TestCase): "content": "A comment on the new activity" }).execute() - def IGNORE__test_can_list_groups_belonging_to_user(self): - # TODO(ade) Uncomment this test once the related Buzz back-end bug is fixed + def test_can_list_groups_belonging_to_user(self): buzz = build('buzz', 'v1', http=self.http) groups = buzz.groups().list(userId='108242092577082601423').execute() - pprint.pprint(groups) group = buzz.groups().get(userId='108242092577082601423', groupId='G:108242092577082601423:15').execute() self.assertEquals('G:108242092577082601423:15', group['id'], group) @@ -246,9 +244,6 @@ class BuzzAuthenticatedFunctionalTest(unittest.TestCase): group = buzz.groups().get(userId='108242092577082601423', groupId='G:108242092577082601423:6').execute() self.assertEquals('G:108242092577082601423:6', group['id'], group) - group = buzz.groups().get(userId='108242092577082601423', groupId='G:108242092577082601423:9999999').execute() - self.assertEquals(None, group, group) - def test_can_delete_activity(self): buzz = build('buzz', 'v1', http=self.http)