otaku_info.test.routes package¶
Subpackages¶
Submodules¶
otaku_info.test.routes.TestForgotRoute module¶
- class otaku_info.test.routes.TestForgotRoute.TestForgotRoute(methodName='runTest')¶
Bases:
otaku_info.test.TestFramework._TestFramework
Class that tests password reset features
- test_invalid_recaptcha()¶
Tests that invalid ReCaptcha responses are handled correctly :return: None
- test_page_get()¶
Tests getting the page :return: None
- test_resetting_password()¶
Tests successfully resetting a password :return: None
- test_unsuccessfully_resetting_password()¶
Tests unsuccessfully resetting a password :return: None
otaku_info.test.routes.TestLoginRoute module¶
- class otaku_info.test.routes.TestLoginRoute.TestLoginRoute(methodName='runTest')¶
Bases:
otaku_info.test.TestFramework._TestFramework
Class that tests log-in features
- test_invalid_login_attempts()¶
Tests trying to log in with invalid credentials etc :return: None
- test_logging_in_and_out()¶
Tests logging in successfully, then once more, then logging out :return: None
- test_page_get()¶
Tests getting the page :return: None
otaku_info.test.routes.TestProfileRoute module¶
- class otaku_info.test.routes.TestProfileRoute.TestProfileRoute(methodName='runTest')¶
Bases:
otaku_info.test.TestFramework._TestFramework
Class that tests profile features
- test_changing_password()¶
Tests changing a password :return: None
- test_page_get()¶
Tests getting the page :return: None
- test_unsuccessful_password_change()¶
Tests unsuccessfully changing a password :return: None
- test_unsuccessful_user_delete()¶
Tests unsuccessfully deleting a user :return: None
- test_user_delete()¶
Tests deleting a user :return: None
otaku_info.test.routes.TestRegisterRoute module¶
- class otaku_info.test.routes.TestRegisterRoute.TestRegisterRoute(methodName='runTest')¶
Bases:
otaku_info.test.TestFramework._TestFramework
Class that tests registration features
- test_confirming()¶
Tests confirming a user :return: None
- test_invalid_confirm()¶
Tests invalid confirmations :return: None
- test_invalid_recaptcha()¶
Tests that invalid ReCaptcha responses are handled correctly :return: None
- test_invalid_registrations()¶
Tests registering using invalid parameters :return: None
- test_page_get()¶
Tests getting the page :return: None
- test_registering_user()¶
Tests registering a new user :return: None
otaku_info.test.routes.TestStaticRoutes module¶
- class otaku_info.test.routes.TestStaticRoutes.TestStaticRoutes(methodName='runTest')¶
Bases:
otaku_info.test.TestFramework._TestFramework
Class that tests static pages
- test_get_about()¶
Tests getting the about page :return: None
- test_get_index()¶
Tests getting the index page :return: None
- test_get_privacy()¶
Tests getting the privacy page :return: None