Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad NameLoad body Assign NameStore TupleLoad Str Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list decorator_list
N/A django.test SimpleTestCase corehq.apps.app_manager.exceptions CaseXPathValidationError corehq.apps.app_manager.tests.app_factory AppFactory corehq.apps.app_manager.tests.util TestXmlMixin mock patch FormFilterErrorTests N/A SimpleTestCase TestXmlMixin N/A N/A file_path N/A data suite setUp N/A N/A self N/A N/A N/A N/A self suite_xml_is_usercase_in_use_patch N/A patch corehq.apps.app_manager.suite_xml.sections.menus.is_usercase_in_use N/A N/A self suite_xml_is_usercase_in_use_mock N/A N/A N/A self suite_xml_is_usercase_in_use_patch start N/A N/A self factory N/A AppFactory build_version 2.9 N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self suite_xml_is_usercase_in_use_patch stop N/A test_error_when_no_case N/A N/A self N/A N/A N/A N/A N/A self suite_xml_is_usercase_in_use_mock return_value True N/A N/A __ reg_form N/A N/A N/A self factory new_basic_module reg_module mother N/A N/A N/A N/A self factory form_opens_case reg_form N/A N/A reg_form form_filter ./due_date <= today() N/A N/A N/A self assertRaises CaseXPathValidationError N/A N/A N/A N/A N/A N/A self factory app create_suite N/A test_no_error_when_user_case N/A N/A self N/A N/A N/A N/A N/A self suite_xml_is_usercase_in_use_mock return_value True N/A N/A __ reg_form N/A N/A N/A self factory new_basic_module reg_module mother N/A N/A N/A N/A self factory form_opens_case reg_form N/A N/A reg_form form_filter #user/due_date <= today() N/A expected 
        <partial>
            <menu id="m0">
            <text>
              <locale id="modules.m0"/>
            </text>
            <command id="m0-f0" relevant="instance('casedb')/casedb/case[@case_type='commcare-user'][hq_user_id=instance('commcaresession')/session/context/userid][1]/due_date &lt;= today()"/>
          </menu>
        </partial>
         N/A N/A N/A self assertXmlPartialEqual expected N/A N/A N/A N/A self factory app create_suite ./menu N/A test_no_error_when_case N/A N/A self N/A N/A N/A N/A N/A self suite_xml_is_usercase_in_use_mock return_value False N/A N/A __ update_form N/A N/A N/A self factory new_basic_module update_mother mother N/A N/A N/A N/A self factory form_requires_case update_form N/A N/A update_form form_filter #case/due_date <= today() N/A expected 
        <partial>
          <menu id="m0">
            <text>
              <locale id="modules.m0"/>
            </text>
            <command id="m0-f0" relevant="instance('casedb')/casedb/case[@case_id=instance('commcaresession')/session/data/case_id]/due_date &lt;= today()"/>
          </menu>
        </partial>
         N/A N/A N/A self assertXmlPartialEqual expected N/A N/A N/A N/A self factory app create_suite ./menu N/A N/A