def METHOD_NAME(self):
    term = GlossaryTerm(
        slug="algorithm",
        term="Algorithms",
        definition="<p>Algorithms definition.</p>",
        languages=["en"]
    )
    term.save()
    url = reverse("topics:glossary_json")
    response = self.client.get(url, {"term": "algorithm"})
    self.assertEqual(HTTPStatus.OK, response.status_code)
    self.assertJSONEqual(
        str(response.content, encoding="utf8"),
        {
            "definition": "<p>Algorithms definition.</p>",
            "slug": "algorithm",
            "term": "Algorithms",
            "translated": True
        }
    )