def METHOD_NAME(self, settings):
    settings.task_eager_propagates = (True,)
    settings.task_always_eager = (True,)
    u1 = UserFactory()
    v1 = VerificationFactory(user=u1)
    u2 = UserFactory()
    form = ConfirmEmailForm(
        user=u2, token=v1.token, data={"token": v1.token}
    )
    assert not form.is_valid()
    assert ["Token is invalid"] == form.errors["token"]
    u1.refresh_from_db()
    u2.refresh_from_db()
    v1.refresh_from_db()
    assert u1.is_active is True
    assert u2.is_active is False
    assert v1.is_verified is None