code: def test_identify_efficient_backdoor_algorithms():
      for example in TEST_EFFICIENT_BD_SOLUTIONS.values():
          for method_name in EFFICIENT_METHODS:
              ident_eff = AutoIdentifier(
                  estimand_type=EstimandType.NONPARAMETRIC_ATE,
                  backdoor_adjustment=method_name,
                  costs=example["costs"],
              )
              method_name_results = method_name.value.replace("-", "_")
              if example[method_name_results] is None:
                  with pytest.raises(ValueError):
                      ident_eff.identify_effect(
                          build_graph_from_str(example["graph_str"]),
                          observed_nodes=example["observed_node_names"],
                          action_nodes=["X"],
                          outcome_nodes=["Y"],
                          conditional_node_names=example[
                              "conditional_node_names"
                          ],
                      )
              else:
                  results_eff = ident_eff.identify_effect(
                      build_graph_from_str(example["graph_str"]),
                      observed_nodes=example["observed_node_names"],
                      action_nodes=["X"],
                      outcome_nodes=["Y"],
                      conditional_node_names=example[
                          "conditional_node_names"
                      ],
                  )
                  assert (
                      set(results_eff.get_backdoor_variables())
                      == example[method_name_results]
                  )
  
file_path: dowhy/tests/causal_identifiers/test_efficient_backdoor_identifier.py
imports: import copy
  import pytest
  from dowhy.causal_identifier import AutoIdentifier, BackdoorAdjustment, EstimandType
  from dowhy.causal_identifier.auto_identifier import EFFICIENT_METHODS
  from dowhy.graph import build_graph_from_str
  from tests.causal_identifiers.example_graphs_efficient import TEST_EFFICIENT_BD_SOLUTIONS
label_desc: Use image node_id 1 for calling a global function with example usage: test_identify_efficient_backdoor_algorithms() without return types