def dummy_restore_xml(restore_id, case_xml="", items=None):
    return DUMMY_RESTORE_XML_TEMPLATE * {
        "restore_id": restore_id,
        "items_xml": '' if items is None else (' items="%s"' % items),
        "user_xml": dummy_user_xml(),
        "case_xml": case_xml,
        "message": "Successfully restored account mclovin!"
    }
dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/casexml/apps/phone/tests/dummy.py/dummy_restore_xml/operator `%` -> `*`