Exemple #1
0
 def test_a11y_validation(self):
     assert valid_alternative_image_text(invalid_form) == "Warning"
     assert valid_alternative_image_text(valid_form) is True
     assert valid_alternative_icon_text(invalid_form) == "Warning"
     assert valid_alternative_icon_text(valid_form) is True
     assert valid_title_icon(invalid_form) == "Warning"
     assert valid_title_icon(valid_form) is True
     assert valid_simili_button(invalid_form) == "Warning"
     assert valid_simili_button(valid_form) is True
     assert valid_dialog(invalid_form) == "Warning"
     assert valid_dialog(valid_form) is True
     assert valid_simili_dropdown(invalid_form) == "Warning"
     assert valid_simili_dropdown(valid_form) is True
     assert valid_simili_progressbar(invalid_form) == "Warning"
     assert valid_simili_progressbar(valid_form) is True
     assert valid_simili_tabpanel(invalid_form) == "Warning"
     assert valid_simili_tabpanel(valid_form) is True
     assert valid_simili_tablist(invalid_form) == "Warning"
     assert valid_simili_tablist(valid_form) is True
     assert valid_simili_tab(invalid_form) == "Warning"
     assert valid_simili_tab(valid_form) is True
     assert valid_focusable_button(invalid_form) == "Warning"
     assert valid_focusable_button(valid_form) is True
     assert valid_prohibited_none_role(invalid_form) == "Warning"
     assert valid_prohibited_none_role(valid_form) is True
     assert valid_alerts(invalid_form) == "Warning"
     assert valid_alerts(valid_form) is True
 def test_a11y_validation(self):
     assert valid_alternative_image_text(invalid_form) == "Warning"
     assert valid_alternative_image_text(valid_form) is True
     assert valid_alternative_icon_text(invalid_form) == "Warning"
     assert valid_alternative_icon_text(valid_form) is True
     assert valid_title_icon(invalid_form) == "Warning"
     assert valid_title_icon(valid_form) is True
     assert valid_simili_button(invalid_form) == "Warning"
     assert valid_simili_button(valid_form) is True
     assert valid_dialog(invalid_form) == "Warning"
     assert valid_dialog(valid_form) is True
     assert valid_simili_dropdown(invalid_form) == "Warning"
     assert valid_simili_dropdown(valid_form) is True
     assert valid_simili_progressbar(invalid_form) == "Warning"
     assert valid_simili_progressbar(valid_form) is True
     assert valid_simili_tabpanel(invalid_form) == "Warning"
     assert valid_simili_tabpanel(valid_form) is True
     assert valid_simili_tablist(invalid_form) == "Warning"
     assert valid_simili_tablist(valid_form) is True
     assert valid_simili_tab(invalid_form) == "Warning"
     assert valid_simili_tab(valid_form) is True
     assert valid_focusable_button(invalid_form) == "Warning"
     assert valid_focusable_button(valid_form) is True
     assert valid_prohibited_none_role(invalid_form) == "Warning"
     assert valid_prohibited_none_role(valid_form) is True
     assert valid_alerts(invalid_form) == "Warning"
     assert valid_alerts(valid_form) is True