# Path: tests/support/utils.py
# def jsonschema_str(string):
#     return repr(string)


from tests.support.utils import jsonschema_str
            "dataset": [
                {
                    "status": "ERROR",
                    "identifier": "99db6631-d1c9-470b-a73e-c62daa32c420",
                    "list_index": 0,
                    "errors": [
                        {
                            "instance": options['instance'],
                            "validator": options['validator'],
                            "path": options['path'],
                            "message": options['message'],
                            "error_code": options['error_code'],
                            "validator_value": options['validator_value'],
                        }
                    ],
                    "title": options['dataset_title']
                }
            ]
        }
    }


def missing_dataset_title():
    return dataset_error({
        "instance": None,
        "validator": "required",
        "path": [
            "dataset",
            0
        ],

# Path: tests/support/utils.py
# def jsonschema_str(string):
#     return repr(string)


# Path: tests/support/factories/dataset_errors.py
from tests.support.utils import jsonschema_str

            "dataset": [
                {
                    "status": "ERROR",
                    "identifier": "99db6631-d1c9-470b-a73e-c62daa32c420",
                    "list_index": 0,
                    "errors": [
                        {
                            "instance": options['instance'],
                            "validator": options['validator'],
                            "path": options['path'],
                            "message": options['message'],
                            "error_code": options['error_code'],
                            "validator_value": options['validator_value'],
                        }
                    ],
                    "title": options['dataset_title']
                }
            ]
        }
    }


def missing_dataset_title():
    return dataset_error({
        "instance": None,
        "validator": "required",
        "path": [
            "dataset",
            0
        ],

        "message": "%s is a required property" % jsonschema_str('title'),