def METHOD_NAME(aiida_localhost):
    """Test the deprecated :meth:`aiida.orm.nodes.data.code.installed.InstalledCode.get_execname` method."""
    code = InstalledCode(label='some-label', computer=aiida_localhost, filepath_executable='/usr/bin/bash')
    assert code.get_execname() == '/usr/bin/bash'