Skip to content

Commit ae11fde

Browse files
committed
Add missing test case.
1 parent 8b3203f commit ae11fde

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_authenticator.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ def test_wrong_initiation(self):
2323

2424
self.assertTrue('You must set a secret of minimum 8 characters!' in str(context.exception))
2525

26+
with self.assertRaises(Exception) as context:
27+
Authenticator('ĀƯŤĤËŊŦĩÇÁƮŏƦ')
28+
29+
self.assertTrue('You must set an ascii str variable as secret!' in str(context.exception))
30+
2631
with self.assertRaises(Exception) as context:
2732
Authenticator(lambda: None)
2833

0 commit comments

Comments
 (0)