コード例 #1
0
ファイル: test_passwd.py プロジェクト: jbloetz/chula
 def test_new_matches_without_positive_match(self):
     self.assertFalse(passwd.matches('badpasswd', sha1))
コード例 #2
0
ファイル: test_passwd.py プロジェクト: jbloetz/chula
 def test_new_matches_with_positive_match(self):
     self.assertTrue(passwd.matches(password, sha1))