code: def test_elements_for_metric(  # noqa: D
      request: FixtureRequest,
      mf_test_session_state: MetricFlowTestSessionState,
      metric_lookup: MetricLookup,
  ) -> None:
      assert_object_snapshot_equal(
          request=request,
          mf_test_session_state=mf_test_session_state,
          obj_id="result0",
          obj=tuple(
              spec.qualified_name
              for spec in metric_lookup.element_specs_for_metrics(
                  [MetricReference(element_name="views")],
                  without_any_property=frozenset(
                      {
                          LinkableElementProperties.DERIVED_TIME_GRANULARITY,
                          LinkableElementProperties.METRIC_TIME,
                      }
                  ),
              )
          ),
      )
  
imports: from __future__ import annotations
  import logging
  import pytest
  from _pytest.fixtures import FixtureRequest
  from dbt_semantic_interfaces.protocols.semantic_manifest import SemanticManifest
  from dbt_semantic_interfaces.references import EntityReference, MeasureReference, MetricReference
  from metricflow.model.semantics.linkable_element_properties import LinkableElementProperties
  from metricflow.model.semantics.metric_lookup import MetricLookup
  from metricflow.model.semantics.semantic_model_lookup import SemanticModelLookup
  from metricflow.test.fixtures.setup_fixtures import MetricFlowTestSessionState
  from metricflow.test.snapshot_utils import assert_linkable_element_set_snapshot_equal, assert_object_snapshot_equal
label_desc: Use image node_id 6 for calling a global function with example usage: test_elements_for_metric(request, mf_test_session_state, metric_lookup) without return types