code: def test_reference_for():
      expected = naming.DatasetReference(
          dataset_name="ds", version="1.2.3", config="config"
      )
      assert naming.reference_for("ds/config:1.2.3") == expected
  
imports: import os
  from absl.testing import parameterized
  from etils import epath
  import pytest
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core import splits
label_desc: Use image node_id 43 for calling a global function with example usage: test_reference_for() without return types