def test_return_password_in_black_list(self): self.assertEqual( password_strength.get_password_strength('123qwerty', self.black_list), 2)
def test_return_seven_point(self): self.assertEqual( password_strength.get_password_strength('Acc123!@', self.black_list), 7)
def test_return_ten_point(self): self.assertEqual( password_strength.get_password_strength('Abcde12@#', self.black_list), 10)
def test_return_four_point(self): self.assertEqual( password_strength.get_password_strength('Abc123!', self.black_list), 4)
def test_return_three_point(self): self.assertEqual( password_strength.get_password_strength('abc123!', self.black_list), 3)
def test_return_two_point(self): self.assertEqual( password_strength.get_password_strength('ABC1', self.black_list), 2)
def test_return_one_point(self): self.assertEqual( password_strength.get_password_strength('1', self.black_list), 1)
def test_empty_password(self): self.assertEqual( password_strength.get_password_strength(' ', self.black_list), 0)