

def test_template_params(self):
    child_result = {
        'case': self.child_case.case_properties(),
    }
    child_result['case']['parent'] = self.parent_case.case_properties()
    self.assertEqual(get_message_template_params(self.child_case), child_result)
    parent_result = {
        'case': self.parent_case.case_properties(),
    }
    parent_result['case']['parent'] = {
        
    }
    self.assertEqual(get_message_template_params(self.parent_case), parent_result)

dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reminders/tests/__init__.py MessageTestCase.test_template_params/original