def test_get_query(self):
    self.client.get('auth/token', params={'a': ['1']})
    (method, path, body, headers) = self.mock_c.request.call_args[0]
    assert ('/api/v1/auth/token?a=1' == path)
def test_get_query(self):
    self.client.get('auth/token', params={'a': ['1']})
    (method, path, body, headers) = self.mock_c.request.call_args[0]
    assert ('/api/v1/auth/token?a=1' == path)