def METHOD_NAME(self):
    normal, staff = [
        UserFactory.create(user_permissions=["view_appointmentinfo"]),
        StaffUserFactory.create(user_permissions=["view_appointmentinfo"]),
    ]
    # appointment in the future
    AppointmentInfoFactory.create(
        registration_ok=True, start_time="2021-11-30T17:00:00+01:00"
    )
    # test content on page
    with self.subTest(user="non-staff"):
        changelist = self.app.get(
            reverse("admin:appointments_appointmentinfo_changelist"),
            user=normal,
        )
        self.assertEqual(changelist.status_code, 302)
    with self.subTest(user="staff, no superuser"):
        changelist = self.app.get(
            reverse("admin:appointments_appointmentinfo_changelist"),
            user=staff,
        )
        self.assertEqual(changelist.status_code, 200)
        object_actions_col = changelist.pyquery(".field-get_object_actions")
        self.assertFalse(object_actions_col)