def test_get_demographics_form_without_gloss(self): form_template = Demographics.get_form_template() self.assertEqual( form_template, "forms/demographics_form_pre_gloss.html" )
def test_get_demographics_form_without_gloss(self): form_template = Demographics.get_form_template() self.assertEqual(form_template, "forms/demographics_form_pre_gloss.html")
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")