hawat.blueprints.auth_pwd.test package

Unit tests for hawat.blueprints.auth_pwd.

class hawat.blueprints.auth_pwd.test.AuthPwdTestCase(methodName='runTest')[source]

Bases: TestRunnerMixin, RegistrationHawatTestCase

Class for testing hawat.blueprints.auth_pwd blueprint.

test_01_login_user()[source]

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

test_02_login_developer()[source]

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

test_03_login_admin()[source]

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

test_04_register()[source]

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

test_05_register_fail()[source]

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