@run_with_all_backends
    def test_update_deactivated_user(self):
        self.user.save()
        user_case = CaseAccessors(TEST_DOMAIN).get_case_by_domain_hq_user_id(self.user._id, USERCASE_TYPE)
        self.assertIsNotNone(user_case)

        self.user.is_active = False
        self.user.save()
        user_case = CaseAccessors(TEST_DOMAIN).get_case_by_domain_hq_user_id(self.user._id, USERCASE_TYPE)
        self.assertTrue(user_case.closed)

        self.user.user_data = {'foo': 'bar'}
        self.user.save()
        user_case = CaseAccessors(TEST_DOMAIN).get_case_by_domain_hq_user_id(self.user._id, USERCASE_TYPE)
        self.assertTrue(user_case.closed)
        self.assertEquals(user_case.dynamic_case_properties()['foo'], 'bar')

    # @run_with_all_backends
Field Type projection (e.g. e b ...)
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/callcenter/tests/test_utils.py/CallCenterUtilsUserCaseTests.test_update_deactivated_user--crossover with--dataset/ETHPy150Open simpeg/simpeg/SimPEG/EM/TDEM/SurveyTDEM.py/RxTDEM.projField