def METHOD_NAME(self):
    response = self.app.get(
        url=url_for(controller="api", action="user_autocomplete", ver=2),
        params={"q": u"tes", "limit": 1},
        status=200,
    )
    print(response.json)
    assert len(response.json) == 1