code: def test_simple_expand():
      # single filepattern
      assert expand("{a}.out", a="test") == ["test.out"]
      # multiple filepatterns
      assert expand(["{a}.out", "{b}.out"], a="a", b="b") == [
          "a.out",
          "b.out",
      ]
      # multiple wildcards
      assert expand("{a}.out", a=["1", "2", "3"]) == [
          "1.out",
          "2.out",
          "3.out",
      ]
      # multiple wildcards and patterns
      assert expand(
          ["{a}_{b}.ab", "{b}.b"], a="1 2".split(), b="3 4".split()
      ) == [
          "1_3.ab",
          "1_4.ab",
          "2_3.ab",
          "2_4.ab",
          "3.b",
          "4.b",
      ]
      # replace product
      assert expand(
          ["{a}_{b}.ab", "{b}.b"], zip, a="1 2".split(), b="3 4".split()
      ) == [
          "1_3.ab",
          "2_4.ab",
          "3.b",
          "4.b",
      ]
  
imports: from snakemake.io import expand
  from snakemake.exceptions import WildcardError
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_simple_expand() without return types