コード例 #1
0
 def test_copy_password(self):
     test_profiles = Profiles("thuitafaith", "*****@*****.**", "prrr")
     test_profiles.save_profiles()
     test_profiles.generate_password("thuitafaith", 9)
     Profiles.copy_password("thuitafaith")
     self.assertEqual(test_profiles.password, pyperclip.paste())
コード例 #2
0
ファイル: run.py プロジェクト: thuitafaith/Password-locker
def copy_profile_password(username):
    return Profiles.copy_password(username)