コード例 #1
0
    def test_find_by_email(self):
        # checking if the password is in the list and the display the info
        self.new_password.save_password()
        test_password = Password("Test", "user", "wycliffkerongogmail.com", "110p05124h")
        test_password.save_password()
        found_password = Password.find_by_email("31740141")

        self.assertEqual(found_password.email, password.email)