bundesliga_tippspiel.test.background package¶
Submodules¶
bundesliga_tippspiel.test.background.test_MatchDataUpdate module¶
- class bundesliga_tippspiel.test.background.test_MatchDataUpdate.TestMatchDataUpdate(methodName='runTest')¶
Bases:
bundesliga_tippspiel.test.TestFramework._TestFramework
Unit test class that tests the match_data_getter script
- assert_db_state()¶
Performs multiple assertions on a filled database :return: None
- test_icon_urls()¶
Tests if all team icon URLs are valid :return: None
- test_populating_twice()¶
Tests populating the database. Twice. :return: None
bundesliga_tippspiel.test.background.test_Reminders module¶
- class bundesliga_tippspiel.test.background.test_Reminders.TestReminders(methodName='runTest')¶
Bases:
bundesliga_tippspiel.test.TestFramework._TestFramework
Class that tests the sending of due email reminders
- setUp()¶
Sets up a user for testing :return: None
- test_with_due_reminder()¶
Tests running the action with a due reminder :return: None
- test_with_non_due_reminder()¶
Tests running the action with a reminder that’s not due yet :return: None
- test_without_stored_reminders()¶
Tests running the action without any stored reminders :return: None
bundesliga_tippspiel.test.background.test_SeasonEvents module¶
- class bundesliga_tippspiel.test.background.test_SeasonEvents.TestSeasonEvents(methodName='runTest')¶
Bases:
bundesliga_tippspiel.test.TestFramework._TestFramework
Class that tests the sending of due email reminders
- setUp()¶
Sets up a user for testing :return: None
- test_executing()¶
Tests if the events are executed correctly, and only once. :return: None
- test_initializing()¶
Tests initializing the season-wide database entries :return: None
- test_midseason_reminder()¶
Tests sending the midseason reminder :return: None
- test_postseason_wrapup()¶
Tests doing the postseason wrapup :return: None
- test_preseason_reminder()¶
Tests sending the preseason reminder if it’s due :return: None