Пример #1
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"
     )
Пример #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
 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")