def METHOD_NAME(self):
    page = JobListingPage(
        offices=[self.new_york],
        regions=[self.northeast],
        grades=[self.grade],
    )
    context = page.get_context(self.request)
    self.assertEqual(
        context["offices"],
        [
            {
                "name": "New York",
                "state_id": "NY",
            },
        ],
    )
    self.assertEqual(
        context["regions"],
        [
            {
                "name": "Northeast region",
                "states": ["NY"],
                "major_cities": [
                    {
                        "name": "Albany",
                        "state_id": "NY",
                    },
                ],
            },
        ],
    )
    self.assertEqual(context["grades"], ["53"])