def METHOD_NAME(self):
    """field json is returned from API"""
    test_link = reverse("misago:api:user-edit-details", kwargs={"pk": self.user.pk})
    response = self.client.get(test_link)
    found_field = None
    for group in response.json():
        for field in group["fields"]:
            if field["fieldname"] == "bio":
                found_field = field
    self.assertEqual(
        found_field,
        {
            "fieldname": "bio",
            "label": "Bio",
            "help_text": None,
            "input": {"type": "textarea"},
            "initial": "",
        },
    )