Esempio n. 1
0
 def test_check_positive_with_brake_in_two(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(True, '223444' in list_of_potencial_passwords)
Esempio n. 2
0
 def test_mach(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(
         True,
         self.is_in_list(['144556', '444455', '225555'],
                         list_of_potencial_passwords))
Esempio n. 3
0
 def test_no_four_middle(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(False, '155559' in list_of_potencial_passwords)
Esempio n. 4
0
 def test_no_four_end(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(False, '138888' in list_of_potencial_passwords)
Esempio n. 5
0
 def test_no_mach(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(False, '145556' in list_of_potencial_passwords)
Esempio n. 6
0
 def test_last_match(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(True, '588999' in list_of_potencial_passwords)
Esempio n. 7
0
 def test_double_inside_adjacent_match(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(True, '144556' in list_of_potencial_passwords)
Esempio n. 8
0
 def test_first_match(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(
         True, self.is_in_list(['138899'], list_of_potencial_passwords))
Esempio n. 9
0
 def test_no_returning(self):
     list_of_potencial_passwords = password.find_password()
     self.assertEqual(False, '143455' in list_of_potencial_passwords)