def METHOD_NAME(self, graphql_context: WorkspaceRequestContext):
    selector = infer_pipeline_selector(graphql_context, "required_resource_job", ["kdjfkdj"])
    result = execute_dagster_graphql(
        graphql_context,
        RUN_CONFIG_SCHEMA_QUERY,
        variables={
            "selector": selector,
            "mode": "default",
        },
    )
    assert result.data["runConfigSchemaOrError"]["__typename"] == "InvalidSubsetError"