Example #1
0
 def test_chg_form_bus_field_help_text(self):
     form = FahrgastChgForm()
     self.assertEqual(
         form.fields['bus'].help_text,
         'Dem Wohnort ist kein Bus zugeordnet. Deshalb für den Fahrgast einen Bus auswählen!'
     )
Example #2
0
 def test_chg_form_name_field_label(self):
     form = FahrgastChgForm()
     self.assertTrue(form.fields['name'].label == 'Name')
Example #3
0
 def test_chg_form_dsgvo_field_help_text(self):
     form = FahrgastChgForm()
     self.assertEqual(form.fields['dsgvo'].label, 'DSGVO Status')
Example #4
0
 def test_chg_form_bus_field_help_text(self):
     form = FahrgastChgForm()
     self.assertEqual(form.fields['bus'].label, 'Bus')
Example #5
0
 def test_chg_form_hausnr_field_help_text(self):
     form = FahrgastChgForm()
     self.assertEqual(form.fields['hausnr'].label, 'Hausnr')
Example #6
0
 def test_chg_form_bemerkung_field_help_text(self):
     form = FahrgastChgForm()
     self.assertEqual(form.fields['bemerkung'].label, 'Bemerkung')
Example #7
0
 def test_chg_form_ort_field_label(self):
     form = FahrgastChgForm()
     self.assertTrue(form.fields['ort'].label == 'Ort')
Example #8
0
 def test_chg_form_strasse_field_help_text(self):
     form = FahrgastChgForm()
     self.assertEqual(form.fields['strasse'].label, 'Strasse')
Example #9
0
 def test_chg_form_mobil_field_help_text(self):
     form = FahrgastChgForm()
     self.assertEqual(form.fields['mobil'].help_text, '0150-1111')
Example #10
0
 def test_chg_form_mobil_field_label(self):
     form = FahrgastChgForm()
     self.assertTrue(form.fields['mobil'].label == 'Mobil')
Example #11
0
 def test_chg_form_telefon_field_help_text(self):
     form = FahrgastChgForm()
     self.assertEqual(form.fields['telefon'].help_text, '01234-1111')
Example #12
0
 def test_chg_form_telefon_field_label(self):
     form = FahrgastChgForm()
     self.assertTrue(form.fields['telefon'].label == 'Telefon')
Example #13
0
 def test_chg_form_name_field_help_text(self):
     form = FahrgastChgForm()
     self.assertEqual(form.fields['name'].help_text, 'Name, Vorname')