bundesliga_tippspiel.test.db.settings package¶
Submodules¶
bundesliga_tippspiel.test.db.settings.test_ReminderSettings module¶
- class bundesliga_tippspiel.test.db.settings.test_ReminderSettings.TestReminderSettings(methodName='runTest')¶
Bases:
bundesliga_tippspiel.test.db.ModelTestFramework._ModelTestFramework
Tests the ReminderSettings SQL model
- setUp()¶
Sets up the data needed by the tests :return: None
- test_cascades()¶
Tests if cascade deletes work correctly :return: None
- test_due()¶
Tests if due matches can be found correctly
Dates: Now —– Reminder 1 —– Match 1 —– Reminder 2 —– Match 2 -0———-10min———–30min———–60min———120min- :return: None
- test_due_when_bets_placed()¶
Tests if the is_due method works correctly when bets are placed :return: None
- test_json_representation()¶
Tests the JSON representation of the model :return: None
- test_missing_column_data()¶
Tests that missing column data is handled correctly :return: None
- test_retrieving_from_db()¶
Tests retrieving model objects from the database :return: None
- test_string_representation()¶
Tests the str and repr methods of the model :return: None
- test_uniqueness()¶
Tests that unique attributes are correctly checked :return: None