Example #1
0
 def test_form_title_field_label(self):
     form = RegisterErrorForm(user_id=1)
     self.assertTrue(
         form.fields['title'].label == None
         or form.fields['title'].label == 'Titulo')
Example #2
0
 def test_form_events_field_label(self):
     form = RegisterErrorForm(user_id=1)
     self.assertTrue(
         form.fields['events'].label == None
         or form.fields['events'].label == 'Eventos')
Example #3
0
 def test_form_type_error_field_label(self):
     form = RegisterErrorForm(user_id=1)
     self.assertTrue(
         form.fields['type_error'].label == None
         or form.fields['type_error'].label == 'Tipo')
Example #4
0
 def test_form_level_field_label(self):
     form = RegisterErrorForm(user_id=1)
     self.assertTrue(
         form.fields['level'].label == None
         or form.fields['level'].label == 'Nivel')
Example #5
0
 def test_form_details_field_label(self):
     form = RegisterErrorForm(user_id=1)
     self.assertTrue(
         form.fields['details'].label == None
         or form.fields['details'].label == 'Detalhes')
Example #6
0
 def test_form_date_field_label(self):
     form = RegisterErrorForm(user_id=1)
     self.assertTrue(
         form.fields['date'].label == None
         or form.fields['date'].label == 'Data')
Example #7
0
 def test_form_origin_field_label(self):
     form = RegisterErrorForm(user_id=1)
     self.assertTrue(
         form.fields['origin'].label == None
         or form.fields['origin'].label == 'Origem')
Example #8
0
 def test_form_description_field_label(self):
     form = RegisterErrorForm(user_id=1)
     self.assertTrue(
         form.fields['description'].label == None
         or form.fields['description'].label == 'Descrição')