vial.blueprints.auth_env.test package

Unit tests for vial.blueprints.auth_env.

class vial.blueprints.auth_env.test.AuthEnvTestCase(methodName='runTest')[source]

Bases: vial.test.runner.TestRunnerMixin, vial.test.RegistrationVialTestCase

Class for testing vial.blueprints.auth_env blueprint.

test_01_login_user()[source]

Test login/logout with auth_env module - user ‘user’.

test_02_login_developer()[source]

Test login/logout with auth_env module - user ‘developer’.

test_03_login_admin()[source]

Test login/logout with auth_env module - user ‘admin’.

test_04_register()[source]

Test registration with auth_env module - new user ‘test’.

test_05_register_fail()[source]

Test registration with auth_env module - existing user ‘user’.