'Let \'unrar\' test the archive.'

def testrar(self):

    cmd = ([UNRAR_TOOL] + list(TEST_ARGS))
    add_password_arg(cmd, self._password)
    cmd.append('--')
    with XTempFile(self._rarfile) as rarfile:
        cmd.append(rarfile)
        p = custom_popen(cmd)
        output = p.communicate()[0]
        check_returncode(p, output)
