コード例 #1
0
    def test_password_exists(self):
        # checking if we return the booleon if the passoword is not found
        self.new_password.Password()
        test_password = Password("Test", "user", "*****@*****.**", "110p05124h")
        test_password.save_password()

        password_exists = Password.password_exists("110p05124")
        self.assertTrue(password_exists)