websauna.tests.user.test_groups module¶
-
websauna.tests.user.test_groups.
test_add_group
(web_server, browser, dbsession, init)[source]¶ Create a new group through admin interface.
-
websauna.tests.user.test_groups.
test_edit_group
(web_server, browser, dbsession, init)[source]¶ Edit existen group through admin interface.
-
websauna.tests.user.test_groups.
test_put_user_to_group
(web_server, browser, dbsession, init)[source]¶ Check that we can assign users to groups in admin interface.
-
websauna.tests.user.test_groups.
test_remove_user_from_group
(web_server, init, browser, dbsession)[source]¶ Remove users from assigned groups in admin.
-
websauna.tests.user.test_groups.
test_user_group_choices_preserved_on_validation_error
(web_server, init, browser, dbsession)[source]¶ When user edit form validation fails, we should preserve the existing group choices.
This stresses out hacky implementation of websauna.system.form.colander and deserialization.