puffotter.test package¶
Submodules¶
puffotter.test.TestCrypto module¶
-
class
puffotter.test.TestCrypto.
TestCrypto
(methodName='runTest')¶ Bases:
unittest.case.TestCase
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
-