def METHOD_NAME(
    load_test_data, view_name, kwargs, post_data, response_data
):
    """
    Check different errors during feedback processing
    :param load_test_data: The fixture providing the test data (see :meth:`~tests.conftest.load_test_data`)
    :type load_test_data: NoneType
    :param view_name: The identifier of the view
    :type view_name: str
    :param kwargs: The keyword argument passed to the view
    :type kwargs: dict
    :param post_data: The post data for this view
    :type post_data: dict
    :param response_data: The expected response data
    :type response_data: dict
    """
    client = Client()
    url = reverse(view_name, kwargs=kwargs)
    response = client.post(url, data=post_data)
    assert response.status_code == response_data["code"]
    assert response.json() == {"error": f"{response_data['error']}"}
    # database checks
    assert not Feedback.objects.exists()