Пример #1
0
 def test_pass_good(self):
     self.assertTrue(start.check_pass("1aZ@asa!ga", "vvv"))
Пример #2
0
 def test_username_in_pass(self):
     self.assertFalse(start.check_pass("abc!3Ksdfd", "abc"))
Пример #3
0
 def test_pass_only_digits(self):
     self.assertFalse(start.check_pass("11111111111", "b"))
Пример #4
0
 def test_pass_digit_uppercase(self):
     self.assertFalse(start.check_pass("1aaa111aZ", "b"))
Пример #5
0
 def testPassShort(self):
     self.assertFalse(start.check_pass("a!A1", "b"))