bundesliga_tippspiel.test.utils package

Submodules

bundesliga_tippspiel.test.utils.test_Crypto module

class bundesliga_tippspiel.test.utils.test_Crypto.TestCrypto(methodName='runTest')

Bases: bundesliga_tippspiel.test.TestFramework._TestFramework

Tests cryptographical functions

test_hashing()

Tests that passwords can be hashed successfully :return: None

test_hashing_strings()

Tests that password hashing and verifying works with string as well :return: None

test_salt()

Tests that password hashes are salted :return: None

test_verifying_with_invalid_hash()

Tests that attempting to verify a password with an incorrectly formatted hash will return False :return: None

bundesliga_tippspiel.test.utils.test_Db module

class bundesliga_tippspiel.test.utils.test_Db.TestDb(methodName='runTest')

Bases: bundesliga_tippspiel.test.TestFramework._TestFramework

Class that tests database helper functions

test_user_exists_functions()

Tests functions that check if a user exists or not :return: None

bundesliga_tippspiel.test.utils.test_Json module

class bundesliga_tippspiel.test.utils.test_Json.TestJson(methodName='runTest')

Bases: bundesliga_tippspiel.test.TestFramework._TestFramework

Unit test class that tests the json methods used for the API

test_jsonifying()

Tests jsonifying some objects :return: None

Module contents