def METHOD_NAME(subject_path):
    with pytest.raises(
        schema.SchemaError, match=r".*of type <class \\'list\\'>.*"
    ):
        _ = TestplanMock(
            name=f"{inspect.currentframe().f_code.co_name}_test",
            tracing_tests={subject_path: ["i", "am", "invalid"]},
        )
    with pytest.raises(
        schema.SchemaError, match=r".*value \"also invalid am i\".*"
    ):
        _ = TestplanMock(
            name=f"{inspect.currentframe().f_code.co_name}_test",
            tracing_tests={subject_path: "also invalid am i"},
        )