mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 09:21:37 +00:00
changed english test to take random ascii words
Former-commit-id: a49b66880e
This commit is contained in:
parent
d10109bb38
commit
9b02abb5ea
@ -105,7 +105,7 @@ def test_phrase_freq():
|
||||
def test_not_really_random():
|
||||
# If your xkcd-style password comes out like this, maybe you shouldn't
|
||||
# use it
|
||||
eq_(random_words(nwords=4, lang='en', bits_per_word=0),
|
||||
eq_(random_ascii_words(nwords=4, lang='en', bits_per_word=0),
|
||||
'the the the the')
|
||||
|
||||
# This not only tests random_ascii_words, it makes sure we didn't end
|
||||
|
Loading…
Reference in New Issue
Block a user