def test_head(self):
    self.client.head('auth/token')
    (method, path, body, headers) = self.mock_c.request.call_args[0]
    assert ('HEAD' == method)
def test_head(self):
    self.client.head('auth/token')
    (method, path, body, headers) = self.mock_c.request.call_args[0]
    assert ('HEAD' == method)