

def _submit_form(self, xmlns, form_name, app_id, build_id):
    xform_source = self.get_xml('xform_template').format(xmlns=xmlns, name=form_name, id=uuid.uuid4().hex)
    (_, xform, __) = submit_form_locally(xform_source, DOMAIN, app_id=app_id, build_id=build_id)
    self.form_pillow.send_robust(self.form_pillow.change_transform(xform.to_json()))
    return xform

dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/cleanup/tests/test_fix_forms_with_missing_xmlns.py TestFixFormsWithMissingXmlns._submit_form/original