def test_validate_batch_requests_header(self):
    self.request._json = {'requests': [{'method': 'GET', 'path': '/buckets/b1', 'body': {}, 'headers': []}]}
    self.assertRaises(ValidationError, unmarshal_request, self.request, self.resources['Batch'].batch)
def test_validate_batch_requests_header(self):
    self.request._json = {'requests': [{'method': 'GET', 'path': '/buckets/b1', 'body': {}, 'headers': []}]}
    self.assertRaises(ValidationError, unmarshal_request, self.request, self.resources['Batch'].batch)