You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: restrict.rs
    path of file: ./repos/prisma-engines/query-engine/connector-test-kit-rs/query-engine-tests/tests/new/ref_actions/on_delete
    
    the code of the file until where you have to start completion: //! SQL Server doesn't support Restrict.

use indoc::indoc;
use query_engine_tests::*;

#[test_suite(
    suite = "restrict_onD_1to1_req",
    schema(required),
    exclude(SqlServer),
    relation_mode = "prisma"
)]
mod one
    
    async fn delete_parent_failure(runner: Runner) -> TestResult<()> {
        insta::assert_snapshot!(
          run_query!(&runner, r#"mutation { createOneParent(data: { id: 1, children: { create: { id: 1 }}}) { id }}"#),
          @r###"{"data":{"createOneParent":{"id":1}}}"###
        );

        assert_error!(
            runner,
            "mutation { deleteOneParent(where: { id: 1 }) { id }}",
            2014,
            "The change you are trying to make would violate the required relation 'ChildToParent' between the `Child` and `Parent` models."
        );

        Ok(())
    }