def METHOD_NAME(config_factory):
    '''Test interpolation of config'''
    myconfig = config_factory(test_cfg)
    assert subprocess.call(
        f'sos config --set cut 0.5 -c {myconfig}',
        stderr=subprocess.DEVNULL,
        stdout=subprocess.DEVNULL,
        shell=True) == 0
    load_config_files(myconfig)
    assert env.sos_dict['CONFIG']['cut'] == 0.5
    #
    assert subprocess.call(
        f'sos config --set cut1 0.5 2 3 -c {myconfig}',
        stderr=subprocess.DEVNULL,
        stdout=subprocess.DEVNULL,
        shell=True) == 0
    load_config_files(myconfig)
    assert env.sos_dict['CONFIG']['cut1'] == [0.5, 2, 3]
    #
    assert subprocess.call(
        f'sos config --set cut2 a3 -c {myconfig}',
        stderr=subprocess.DEVNULL,
        stdout=subprocess.DEVNULL,
        shell=True) == 0
    load_config_files(myconfig)
    assert env.sos_dict['CONFIG']['cut2'] == 'a3'
    #
    assert subprocess.call(
        f'sos config --set cut3 a b c -c {myconfig}',
        stderr=subprocess.DEVNULL,
        stdout=subprocess.DEVNULL,
        shell=True) == 0
    load_config_files(myconfig)
    assert env.sos_dict['CONFIG']['cut3'] == ['a', 'b', 'c']
    #
    assert subprocess.call(
        f'''sos config --set cut4 "{{'A': 123}}" -c {myconfig}''',
        stderr=subprocess.DEVNULL,
        stdout=subprocess.DEVNULL,
        shell=True) == 0
    load_config_files(myconfig)
    assert env.sos_dict['CONFIG']['cut4'] == {'A': 123}