code: def test_references_for():
      expected = {
          "one": naming.DatasetReference(
              dataset_name="ds1", version="1.2.3", config="config"
          ),
          "two": naming.DatasetReference(
              dataset_name="ds2", version="1.0.0"
          ),
      }
      assert (
          naming.references_for(
              {"one": "ds1/config:1.2.3", "two": "ds2:1.0.0"}
          )
          == 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 42 for calling a global function with example usage: test_references_for() without return types