Example #1
0
 def test_render_message(self):
     context = {
         'awc': '0000',
         'beneficiary': 'Sam',
     }
     self.assertEqual(
         render_message(ENGLISH, 'missed_cf_visit_to_aww.txt', context),
         "AWC 0000 has not reported a visit during complementary feeding initiation period for Sam"
     )
 def test_render_message(self):
     context = {
         'awc': '0000',
         'beneficiary': 'Sam',
     }
     self.assertEqual(
         render_message(ENGLISH, 'missed_cf_visit_to_aww.txt', context),
         "AWC 0000 has not reported a visit during complementary feeding initiation period for Sam"
     )