Exemplo n.º 1
0
 def test_chg_form_hausnr_field_help_text(self):
     form = StandortChgForm()
     self.assertEqual(form.fields['hausnr'].label, 'Hausnr')
Exemplo n.º 2
0
 def test_chg_form_name_field_label(self):
     form = StandortChgForm()
     self.assertTrue(form.fields['name'].label == 'Name')
Exemplo n.º 3
0
 def test_chg_form_strasse_field_help_text(self):
     form = StandortChgForm()
     self.assertEqual(form.fields['strasse'].label, 'Strasse')
Exemplo n.º 4
0
 def test_chg_form_ort_field_label(self):
     form = StandortChgForm()
     self.assertTrue(form.fields['ort'].label == 'Ort')
Exemplo n.º 5
0
 def test_chg_form_mobil_field_help_text(self):
     form = StandortChgForm()
     self.assertEqual(form.fields['mobil'].help_text, '0150-1111')
Exemplo n.º 6
0
 def test_chg_form_mobil_field_label(self):
     form = StandortChgForm()
     self.assertTrue(form.fields['mobil'].label == 'Mobil')
Exemplo n.º 7
0
 def test_chg_form_name_field_help_text(self):
     form = StandortChgForm()
     self.assertEqual(form.fields['name'].help_text, 'Name, Vorname')