def METHOD_NAME(self):
    term1 = GlossaryTerm(
        slug="algorithm",
        term="Algorithms",
        definition="<p>Algorithms definition.</p>",
        languages=[self.language],
    )
    term1.save()
    term2 = GlossaryTerm(
        slug="pixel",
        term="Pixel",
        definition="<p>Pixel definition.</p>",
        languages=[self.language],
    )
    term2.save()
    url = reverse("chapters:glossary")
    response = self.client.get(url)
    self.assertEqual(200, response.status_code)
    self.assertEqual(len(response.context["glossary_terms"]), 2)
    self.assertQuerysetEqual(
        response.context["glossary_terms"],
        ["<GlossaryTerm: Algorithms>", "<GlossaryTerm: Pixel>"],
        transform=repr
    )