def get_info_filename(base_path):

    base_file = os.path.basename(base_path)
    return (CONF.libvirt.image_info_filename_pattern
            % {'image': base_file})
Test grammar of Mark
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/imagecache.py/get_info_filename--crossover with--dataset/ETHPy150Open wrobstory/vincent/tests/test_vega.py/TestMark.test_grammar_typechecking