def METHOD_NAME(self):
    """Invalid page number results in 404 error"""
    response = self.client.get(reverse("test-pagination", kwargs={"page": 42}))
    self.assertEqual(response.status_code, 404)