コード例 #1
0
ファイル: test_models.py プロジェクト: openhealthcare/elcid
 def test_get_demographics_form_without_gloss(self):
     form_template = Demographics.get_form_template()
     self.assertEqual(
         form_template, "forms/demographics_form_pre_gloss.html"
     )
コード例 #2
0
 def test_get_demographics_form_without_gloss(self):
     form_template = Demographics.get_form_template()
     self.assertEqual(form_template,
                      "forms/demographics_form_pre_gloss.html")
コード例 #3
0
ファイル: test_models.py プロジェクト: openhealthcare/elcid
 def test_get_demographics_form_with_gloss(self, form_template_mock):
     form_template_mock.return_value = "some_template.html"
     form_template = Demographics.get_form_template()
     self.assertEqual(form_template, "some_template.html")
コード例 #4
0
 def test_get_demographics_form_with_gloss(self, form_template_mock):
     form_template_mock.return_value = "some_template.html"
     form_template = Demographics.get_form_template()
     self.assertEqual(form_template, "some_template.html")