def METHOD_NAME(self, response, payment):
    self.assertNotIn(
        f"<td>#{payment.id}</td>",
        response.content.decode(),
        "Payment should not be visible because it does not concern the logged in member.",
    )