websauna.tests.admin.test_admin module

websauna.tests.admin.test_admin.test_admin_permissions(test_request)[source]

Non-functional test to check admin permissions are sane.

websauna.tests.admin.test_admin.test_context_sensitive_shell(web_server, browser, dbsession, init)[source]

See we can open a context sensitive shell in admin.

websauna.tests.admin.test_admin.test_enter_admin(web_server, browser, dbsession, init)[source]

The first user can open the admin page.

websauna.tests.admin.test_admin.test_non_admin_user_denied(web_server, browser, dbsession, init)[source]

The second user should not see admin link nor get to the admin page.