changed english test to take random ascii words

This commit is contained in:
Joshua Chin 2015-06-29 11:05:01 -04:00
parent 5ed03b006c
commit a49b66880e

View File

@ -105,7 +105,7 @@ def test_phrase_freq():
def test_not_really_random(): def test_not_really_random():
# If your xkcd-style password comes out like this, maybe you shouldn't # If your xkcd-style password comes out like this, maybe you shouldn't
# use it # 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') 'the the the the')
# This not only tests random_ascii_words, it makes sure we didn't end # This not only tests random_ascii_words, it makes sure we didn't end