

def test_app_with_recently_fixed_form(self):
    (form, good_build, bad_build, good_xform, bad_xform) = self.build_app_with_recently_fixed_form()
    self._refresh_pillow()
    call_command('fix_forms_with_missing_xmlns', '/dev/null', 'log.txt')
    with open('log.txt') as log_file:
        log = log_file.read()
        bad_xform.assertTrue((good_build._id not in log))
        self.assertTrue((bad_build._id in log))
        self.assertTrue((good_xform._id not in log))
        self.assertTrue((bad_xform._id in log))
    self.assertNoMissingXmlnss()

dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/cleanup/tests/test_fix_forms_with_missing_xmlns.py TestFixFormsWithMissingXmlns.test_app_with_recently_fixed_form/VarMisuse@61/115 `self`->`bad_xform`