bundesliga_tippspiel.test.db package¶
Subpackages¶
Submodules¶
bundesliga_tippspiel.test.db.ModelTestFramework module¶
bundesliga_tippspiel.test.db.test_MatchData module¶
bundesliga_tippspiel.test.db.test_SeasonEvent module¶
- class bundesliga_tippspiel.test.db.test_SeasonEvent.TestSeasonEvent(methodName='runTest')¶
Bases:
bundesliga_tippspiel.test.db.ModelTestFramework._ModelTestFramework
Tests the SeasonEvent SQL model
- setUp()¶
Sets up the data needed by the tests :return: None
- test_cascades()¶
Tests if cascade deletes work correctly :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_string_representation()¶
Tests the str and repr methods of the model :return: None
- test_uniqueness()¶
Tests that unique attributes are correctly checked :return: None