def METHOD_NAME(aiida_localhost, tmp_path):
    """Test the :meth:`aiida.orm.nodes.data.code.portable.PortableCode.can_run_on_computer` method."""
    code = PortableCode(filepath_executable='./bash', filepath_files=tmp_path)
    assert code.can_run_on_computer(aiida_localhost)