code: def test_port_algo_config_dict_legacy():
      """Function should convert dict to be compliant"""
      assert backward.port_algo_config(
          {"algo_name": {"some": "args"}}
      ) == {
          "of_type": "algo_name",
          "some": "args",
      }
  
file_path: orion/tests/unittests/core/utils/test_backward.py
imports: import pytest
  import orion.core.utils.backward
  from orion.algo.base import BaseAlgorithm
label_desc: Use image node_id 7 for calling a global function with example usage: test_port_algo_config_dict_legacy() without return types