def METHOD_NAME(client):
    user1, user2 = UserFactory.create_batch(2)
    session = SessionFactory(creator=user1)
    response = get_view_for_user(
        viewname="api:workstations-feedback-list",
        client=client,
        method=client.post,
        data={"session": session.api_url, "user_comment": "Some comment"},
        user=user2,
        follow=True,
    )
    assert response.status_code == 400
    assert response.json() == {
        "session": ["Invalid hyperlink - Object does not exist."]
    }
    assert Feedback.objects.count() == 0
    response = get_view_for_user(
        viewname="api:workstations-feedback-list",
        client=client,
        method=client.post,
        data={"session": session.api_url, "user_comment": "Some comment"},
        user=user1,
        follow=True,
    )
    assert response.status_code == 201
    assert Feedback.objects.count() == 1