def test_new_matches_without_positive_match(self): self.assertFalse(passwd.matches('badpasswd', sha1))
def test_new_matches_with_positive_match(self): self.assertTrue(passwd.matches(password, sha1))