From fbd15947bbb1cf4ac3821f1cac7944e3248abfe1 Mon Sep 17 00:00:00 2001 From: Joshua Chin <jchin@luminoso.com> Date: Tue, 30 Jun 2015 11:29:14 -0400 Subject: [PATCH] revert changes to test_not_really_random Former-commit-id: bbf7b9de34f4b1f7ff3ac4a3b3789f5f45fa1a86 --- tests/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.py b/tests/test.py index f37552e..2d11e35 100644 --- a/tests/test.py +++ b/tests/test.py @@ -105,13 +105,13 @@ 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_ascii_words(nwords=4, lang='en', bits_per_word=0), + eq_(random_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 # up with 'eos' as a very common Japanese word - eq_(random_words(nwords=4, lang='ja', bits_per_word=0), - 'の の の の') + eq_(random_ascii_words(nwords=4, lang='ja', bits_per_word=0), + 'e e e e') @raises(ValueError)