12 lines
532 B
Diff
12 lines
532 B
Diff
--- a/tests/test_xkcdpass.py
|
|
+++ b/tests/test_xkcdpass.py
|
|
@@ -58,7 +58,7 @@
|
|
wordlist, numwords=numwords, random_delimiters=True
|
|
)
|
|
# check that the result is the right length
|
|
- self.assertEquals(len(result), numwords * wordlength + (numwords - 1))
|
|
+ self.assertEqual(len(result), numwords * wordlength + (numwords - 1))
|
|
# check we have the right number of delimiters
|
|
self.assertEqual(
|
|
len([x for x in result if x in set(xkcd_password.DEFAULT_DELIMITERS)]),
|