def test_hash_to_hash_fail_expected(self): hc = HashChecker() hc.hash_one = self.hashtest_md5_hash hc.hash_two = self.hashtest_sha1_hash self.assertFalse(hc.hash_to_hash())
def test_hash_to_hash_success_expected(self): hc = HashChecker() hc.hash_one = self.hashtest_md5_hash hc.hash_two = self.hashtest_md5_hash self.assertTrue(hc.hash_to_hash())