Group listing bug is now fixed in the Buzz back-end so I've enabled the test
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 @@
"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 @@
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)