

def test_app_with_good_form_json_and_bad_source(self):
    (form, app) = self.build_app_with_bad_source_and_good_json()
    set_xmlns_on_form(form.unique_id, 'not-at-all-undefined', app, MagicMock(), False)
    self.assertNoMissingXmlnss()

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