def test_validate_group_path(self):
    paths = [{}, {'bucket_id': 'b1'}, {'id': 'g1'}]
    for path in paths:
        self.request.path = path
        self.assertRaises(ValidationError, unmarshal_request, self.request, self.resources['Groups'].get_group)
def test_validate_group_path(self):
    paths = [{}, {'bucket_id': 'b1'}, {'id': 'g1'}]
    for path in paths:
        self.request.path = path
        self.assertRaises(ValidationError, unmarshal_request, self.request, self.resources['Groups'].get_group)