code: def test_get_moveable_keys(self, r):
      commands_parser = CommandsParser(r)
      args1 = [
          "EVAL",
          "return {KEYS[1],KEYS[2],ARGV[1],ARGV[2]}",
          2,
          "key1",
          "key2",
          "first",
          "second",
      ]
      args2 = [
          "XREAD",
          "COUNT",
          2,
          b"STREAMS",
          "mystream",
          "writers",
          0,
          0,
      ]
      args3 = [
          "ZUNIONSTORE",
          "out",
          2,
          "zset1",
          "zset2",
          "WEIGHTS",
          2,
          3,
      ]
      args4 = [
          "GEORADIUS",
          "Sicily",
          15,
          37,
          200,
          "km",
          "WITHCOORD",
          b"STORE",
          "out",
      ]
      args5 = ["MEMORY USAGE", "foo"]
      args6 = [
          "MIGRATE",
          "192.168.1.34",
          6379,
          "",
          0,
          5000,
          b"KEYS",
          "key1",
          "key2",
          "key3",
      ]
      args7 = ["MIGRATE", "192.168.1.34", 6379, "key1", 0, 5000]
  
      assert_resp_response(
          r,
          sorted(commands_parser.get_keys(r, *args1)),
          ["key1", "key2"],
          [b"key1", b"key2"],
      )
      assert_resp_response(
          r,
          sorted(commands_parser.get_keys(r, *args2)),
          ["mystream", "writers"],
          [b"mystream", b"writers"],
      )
      assert_resp_response(
          r,
          sorted(commands_parser.get_keys(r, *args3)),
          ["out", "zset1", "zset2"],
          [b"out", b"zset1", b"zset2"],
      )
      assert_resp_response(
          r,
          sorted(commands_parser.get_keys(r, *args4)),
          ["Sicily", "out"],
          [b"Sicily", b"out"],
      )
      assert sorted(commands_parser.get_keys(r, *args5)) in [
          ["foo"],
          [b"foo"],
      ]
      assert_resp_response(
          r,
          sorted(commands_parser.get_keys(r, *args6)),
          ["key1", "key2", "key3"],
          [b"key1", b"key2", b"key3"],
      )
      assert_resp_response(
          r,
          sorted(commands_parser.get_keys(r, *args7)),
          ["key1"],
          [b"key1"],
      )
  
file_path: redis-py/tests/test_command_parser.py
imports: import pytest
  from redis._parsers import CommandsParser
  from .conftest import assert_resp_response, skip_if_redis_enterprise, skip_if_server_version_lt
label_desc: Use image node_id 3 for calling the TestCommandsParser obj's underlying member method code with example usage: obj.test_get_moveable_keys(r) without return types