def METHOD_NAME():
    with pytest.raises(
        DagsterInvalidDefinitionError,
        match='op "B" does not have input "not_an_input"',
    ):
        GraphDefinition(
            node_defs=solid_a_b_list(),
            name="test",
            dependencies={"B": {"not_an_input": DependencyDefinition("A")}},
        )