def METHOD_NAME(self):
    """api handles short search query"""
    response = self.client.get("%s?q=%s" % (self.api_link, self.user.username[0]))
    self.assertEqual(response.status_code, 200)
    response_json = response.json()
    self.assertIn("users", [p["id"] for p in response_json])
    for provider in response_json:
        if provider["id"] == "users":
            results = provider["results"]["results"]
            self.assertEqual(len(results), 1)
            self.assertEqual(results[0]["id"], self.user.id)