You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 regels
375 B

  1. import unittest
  2. from lesspass.fingerprint import get_mnemonic
  3. class TestFingerprint(unittest.TestCase):
  4. def test_get_fingerprint(self):
  5. self.assertEqual(get_mnemonic("passwor"), "🏨 🍴 🏁")
  6. self.assertEqual(get_mnemonic("Password12345"), "🚑 🛏️ 💷")
  7. self.assertEqual(get_mnemonic("Ma$$W0rld!@#$%^&*()<gamma>"), "📈 💷 💷")