def test_validate_queries(self):
    queries = [{'_since': 'aaa'}, {'_before': 'aaa'}, {'_limit': 'aaa'}, {'_token': {}}]
    for query in queries:
        self.request.query = query
        self.assertRaises(ValidationError, unmarshal_request, self.request, self.resources['Buckets'].get_buckets)
def test_validate_queries(self):
    queries = [{'_since': 'aaa'}, {'_before': 'aaa'}, {'_limit': 'aaa'}, {'_token': {}}]
    for query in queries:
        self.request.query = query
        self.assertRaises(ValidationError, unmarshal_request, self.request, self.resources['Buckets'].get_buckets)