bundesliga_tippspiel.test.routes package

Submodules

bundesliga_tippspiel.test.routes.RouteTestFramework module

bundesliga_tippspiel.test.routes.test_AboutRoute module

class bundesliga_tippspiel.test.routes.test_AboutRoute.TestAboutRoute(methodName='runTest')

Bases: bundesliga_tippspiel.test.routes.RouteTestFramework._RouteTestFramework

Class that tests the /about route

property route_info: Tuple[str, List[str], Optional[str], bool]

Info about the route to test :return: The route’s path,

the route’s primary methods, A phrase found on the route’s GET page. None if no such page exists, An indicator for if the page requires authentication or not

test_malformed_data()

Tests that malformed data in the request is handled appropriately :return: None

test_successful_requests()

Tests (a) successful request(s) :return: None

test_unsuccessful_requests()

Tests (an) unsuccessful request(s) :return: None

bundesliga_tippspiel.test.routes.test_BetsRoute module

class bundesliga_tippspiel.test.routes.test_BetsRoute.TestBetsRoute(methodName='runTest')

Bases: bundesliga_tippspiel.test.routes.RouteTestFramework._RouteTestFramework

Class that tests the /bets route

property route_info: Tuple[str, List[str], Optional[str], bool]

Info about the route to test :return: The route’s path,

the route’s primary methods, A phrase found on the route’s GET page. None if no such page exists, An indicator for if the page requires authentication or not

setUp()

Sets up data for the tests :return:

test_getting_specific_matchday()

Tests retrieving a specific matchday :return: None

test_malformed_data()

Tests that malformed data in the request is handled appropriately :return: None

test_successful_requests()

Tests (a) successful request(s) :return: None

test_unsuccessful_requests()

Tests (an) unsuccessful request(s) :return: None

bundesliga_tippspiel.test.routes.test_ChangePasswordRoute module

class bundesliga_tippspiel.test.routes.test_ChangePasswordRoute.TestChangePasswordRoute(methodName='runTest')

Bases: bundesliga_tippspiel.test.routes.RouteTestFramework._RouteTestFramework

Class that tests the /change_password route

property route_info: Tuple[str, List[str], Optional[str], bool]

Info about the route to test :return: The route’s path,

the route’s primary methods, A phrase found on the route’s GET page. None if no such page exists, An indicator for if the page requires authentication or not

test_successful_requests()

Tests (a) successful request(s) :return: None

test_unsuccessful_requests()

Tests (an) unsuccessful request(s) :return: None

bundesliga_tippspiel.test.routes.test_ConfirmRoute module

class bundesliga_tippspiel.test.routes.test_ConfirmRoute.TestConfirmRoute(methodName='runTest')

Bases: bundesliga_tippspiel.test.routes.RouteTestFramework._RouteTestFramework

Class that tests the /confirm route

property route_info: Tuple[str, List[str], Optional[str], bool]

Info about the route to test :return: The route’s path,

the route’s primary methods, A phrase found on the route’s GET page. None if no such page exists, An indicator for if the page requires authentication or not

test_successful_requests()

Tests (a) successful request(s) :return: None

test_unsuccessful_requests()

Tests (an) unsuccessful request(s) :return: None

bundesliga_tippspiel.test.routes.test_DeleteUserRoute module

class bundesliga_tippspiel.test.routes.test_DeleteUserRoute.TestDeleteUserRoute(methodName='runTest')

Bases: bundesliga_tippspiel.test.routes.RouteTestFramework._RouteTestFramework

Class that tests the /delete_user route

property route_info: Tuple[str, List[str], Optional[str], bool]

Info about the route to test :return: The route’s path,

the route’s primary methods, A phrase found on the route’s GET page. None if no such page exists, An indicator for if the page requires authentication or not

test_successful_requests()

Tests (a) successful request(s) :return: None

test_unsuccessful_requests()

Tests (an) unsuccessful request(s) :return: None

bundesliga_tippspiel.test.routes.test_EmailReminderRoute module

class bundesliga_tippspiel.test.routes.test_EmailReminderRoute.TestSetReminderRoute(methodName='runTest')

Bases: bundesliga_tippspiel.test.routes.RouteTestFramework._RouteTestFramework

Class that tests the /set_reminder route

property route_info: Tuple[str, List[str], Optional[str], bool]

Info about the route to test :return: The route’s path,

the route’s primary methods, A phrase found on the route’s GET page. None if no such page exists, An indicator for if the page requires authentication or not

test_successful_requests()

Tests (a) successful request(s) :return: None

test_unsuccessful_requests()

Tests (an) unsuccessful request(s) :return: None

bundesliga_tippspiel.test.routes.test_ForgotPasswordRoute module

class bundesliga_tippspiel.test.routes.test_ForgotPasswordRoute.TestForgotPasswordRoute(methodName='runTest')

Bases: bundesliga_tippspiel.test.routes.RouteTestFramework._RouteTestFramework

Class that tests the /forgot route

property route_info: Tuple[str, List[str], Optional[str], bool]

Info about the route to test :return: The route’s path,

the route’s primary methods, A phrase found on the route’s GET page. None if no such page exists, An indicator for if the page requires authentication or not

test_successful_requests()

Tests (a) successful request(s) :return: None

test_unsuccessful_requests()

Tests (an) unsuccessful request(s) :return: None

bundesliga_tippspiel.test.routes.test_IndexRoute module

class bundesliga_tippspiel.test.routes.test_IndexRoute.TestIndexRoute(methodName='runTest')

Bases: bundesliga_tippspiel.test.routes.RouteTestFramework._RouteTestFramework

Class that tests the / route

property route_info: Tuple[str, List[str], Optional[str], bool]

Info about the route to test :return: The route’s path,

the route’s primary methods, A phrase found on the route’s GET page. None if no such page exists, An indicator for if the page requires authentication or not

test_malformed_data()

Tests that malformed data in the request is handled appropriately :return: None

test_successful_requests()

Tests (a) successful request(s) :return: None

test_unsuccessful_requests()

Tests (an) unsuccessful request(s) :return: None

bundesliga_tippspiel.test.routes.test_LeaderboardRoute module

class bundesliga_tippspiel.test.routes.test_LeaderboardRoute.TestLeaderboardRoute(methodName='runTest')

Bases: bundesliga_tippspiel.test.routes.RouteTestFramework._RouteTestFramework

Class that tests the /leaderboard route

property route_info: Tuple[str, List[str], Optional[str], bool]

Info about the route to test :return: The route’s path,

the route’s primary methods, A phrase found on the route’s GET page. None if no such page exists, An indicator for if the page requires authentication or not

setUp()

Generates sample match data :return: None

test_malformed_data()

Tests that malformed data in the request is handled appropriately :return: None

test_successful_requests()

Tests (a) successful request(s) :return: None

test_unsuccessful_requests()

Tests (an) unsuccessful request(s) :return: None

bundesliga_tippspiel.test.routes.test_LoginRoute module

class bundesliga_tippspiel.test.routes.test_LoginRoute.TestLoginRoute(methodName='runTest')

Bases: bundesliga_tippspiel.test.routes.RouteTestFramework._RouteTestFramework

Class that tests the /login route

property route_info: Tuple[str, List[str], Optional[str], bool]

Info about the route to test :return: The route’s path,

the route’s primary methods, A phrase found on the route’s GET page. None if no such page exists, An indicator for if the page requires authentication or not

test_successful_requests()

Tests (a) successful request(s) :return: None

test_unsuccessful_requests()

Tests (an) unsuccessful request(s) :return: None

bundesliga_tippspiel.test.routes.test_MatchRoute module

class bundesliga_tippspiel.test.routes.test_MatchRoute.TestMatchRoute(methodName='runTest')

Bases: bundesliga_tippspiel.test.routes.RouteTestFramework._RouteTestFramework

Class that tests the /match route

property route_info: Tuple[str, List[str], Optional[str], bool]

Info about the route to test :return: The route’s path,

the route’s primary methods, A phrase found on the route’s GET page. None if no such page exists, An indicator for if the page requires authentication or not

setUp()

Sets up data for the tests :return:

test_successful_requests()

Tests (a) successful request(s) :return: None

test_unsuccessful_requests()

Tests (an) unsuccessful request(s) :return: None

bundesliga_tippspiel.test.routes.test_PrivacyRoute module

class bundesliga_tippspiel.test.routes.test_PrivacyRoute.TestPrivacyRoute(methodName='runTest')

Bases: bundesliga_tippspiel.test.routes.RouteTestFramework._RouteTestFramework

Class that tests the /privacy route

property route_info: Tuple[str, List[str], Optional[str], bool]

Info about the route to test :return: The route’s path,

the route’s primary methods, A phrase found on the route’s GET page. None if no such page exists, An indicator for if the page requires authentication or not

test_malformed_data()

Tests that malformed data in the request is handled appropriately :return: None

test_successful_requests()

Tests (a) successful request(s) :return: None

test_unsuccessful_requests()

Tests (an) unsuccessful request(s) :return: None

bundesliga_tippspiel.test.routes.test_ProfileRoute module

class bundesliga_tippspiel.test.routes.test_ProfileRoute.TestProfileRoute(methodName='runTest')

Bases: bundesliga_tippspiel.test.routes.RouteTestFramework._RouteTestFramework

Class that tests the /profile route

property route_info: Tuple[str, List[str], Optional[str], bool]

Info about the route to test :return: The route’s path,

the route’s primary methods, A phrase found on the route’s GET page. None if no such page exists, An indicator for if the page requires authentication or not

test_malformed_data()

Tests that malformed data in the request is handled appropriately :return: None

test_successful_requests()

Tests (a) successful request(s) :return: None

test_unsuccessful_requests()

Tests (an) unsuccessful request(s) :return: None

bundesliga_tippspiel.test.routes.test_RegisterRoute module

class bundesliga_tippspiel.test.routes.test_RegisterRoute.TestRegisterRoute(methodName='runTest')

Bases: bundesliga_tippspiel.test.routes.RouteTestFramework._RouteTestFramework

Class that tests the /register route

property route_info: Tuple[str, List[str], Optional[str], bool]

Info about the route to test :return: The route’s path,

the route’s primary methods, A phrase found on the route’s GET page. None if no such page exists, An indicator for if the page requires authentication or not

test_successful_requests()

Tests (a) successful request(s) :return: None

test_unsuccessful_requests()

Tests (an) unsuccessful request(s) :return: None

bundesliga_tippspiel.test.routes.test_StatsRoute module

class bundesliga_tippspiel.test.routes.test_StatsRoute.TestStatsRoute(methodName='runTest')

Bases: bundesliga_tippspiel.test.routes.RouteTestFramework._RouteTestFramework

Class that tests the /stats route

property route_info: Tuple[str, List[str], Optional[str], bool]

Info about the route to test :return: The route’s path,

the route’s primary methods, A phrase found on the route’s GET page. None if no such page exists, An indicator for if the page requires authentication or not

setUp()

Generates sample match data :return: None

test_malformed_data()

Tests that malformed data in the request is handled appropriately :return: None

test_successful_requests()

Tests (a) successful request(s) :return: None

test_unsuccessful_requests()

Tests (an) unsuccessful request(s) :return: None

bundesliga_tippspiel.test.routes.test_TeamRoute module

class bundesliga_tippspiel.test.routes.test_TeamRoute.TestTeamRoute(methodName='runTest')

Bases: bundesliga_tippspiel.test.routes.RouteTestFramework._RouteTestFramework

Class that tests the /team route

property route_info: Tuple[str, List[str], Optional[str], bool]

Info about the route to test :return: The route’s path,

the route’s primary methods, A phrase found on the route’s GET page. None if no such page exists, An indicator for if the page requires authentication or not

setUp()

Sets up data for the tests :return:

test_successful_requests()

Tests (a) successful request(s) :return: None

test_unsuccessful_requests()

Tests (an) unsuccessful request(s) :return: None

bundesliga_tippspiel.test.routes.test_UserRoute module

class bundesliga_tippspiel.test.routes.test_UserRoute.TestUserRoute(methodName='runTest')

Bases: bundesliga_tippspiel.test.routes.RouteTestFramework._RouteTestFramework

Class that tests the /user route

property route_info: Tuple[str, List[str], Optional[str], bool]

Info about the route to test :return: The route’s path,

the route’s primary methods, A phrase found on the route’s GET page. None if no such page exists, An indicator for if the page requires authentication or not

setUp()

Sets up data for the tests :return:

test_successful_requests()

Tests (a) successful request(s) :return: None

test_unsuccessful_requests()

Tests (an) unsuccessful request(s) :return: None

Module contents