From ad0f046f474e8d7e3161007553cb67da66467bc6 Mon Sep 17 00:00:00 2001 From: Robyn Speer Date: Fri, 15 Jun 2018 15:48:41 -0400 Subject: [PATCH] fixes to tests, including that 'test.py' wasn't found by pytest --- tests/{test.py => test_general.py} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename tests/{test.py => test_general.py} (99%) diff --git a/tests/test.py b/tests/test_general.py similarity index 99% rename from tests/test.py rename to tests/test_general.py index 8b36b67..9d4c840 100644 --- a/tests/test.py +++ b/tests/test_general.py @@ -17,7 +17,7 @@ def test_languages(): # Make sure we get all the languages when looking for the default # 'best' wordlist avail = available_languages() - assert len(avail) >= 36 + assert len(avail) >= 34 # 'small' covers the same languages, but with some different lists avail_small = available_languages('small') @@ -172,7 +172,7 @@ def test_not_really_random(): # This not only tests random_ascii_words, it makes sure we didn't end # up with 'eos' as a very common Japanese word - assert random_ascii_words(nwords=4, lang='ja', bits_per_word=0) == '1 1 1 1' + assert random_ascii_words(nwords=4, lang='ja', bits_per_word=0) == '00 00 00 00' def test_not_enough_ascii():