Esempio n. 1
0
 def test1(self):
     IsValid = main.IsValidPswd("shanu123", "shanu123")
     self.assertEqual(IsValid, True)
Esempio n. 2
0
 def test9(self):
     IsValid = main.IsValidPswd("shanu123", "SHANU123")
     self.assertEqual(IsValid, False)
Esempio n. 3
0
 def test8(self):
     IsValid = main.IsValidPswd("", "")
     self.assertEqual(IsValid, False)
Esempio n. 4
0
 def test6(self):
     IsValid = main.IsValidPswd("shanu$123", "shanu$123")
     self.assertEqual(IsValid, False)
Esempio n. 5
0
 def test5(self):
     IsValid = main.IsValidPswd("1234567", "1234567")
     self.assertEqual(IsValid, False)
Esempio n. 6
0
 def test4(self):
     IsValid = main.IsValidPswd("shanushanu", "shanushanu")
     self.assertEqual(IsValid, False)