From bdc43d0bf6af7e56235d0f2af2df7ce248052ea7 Mon Sep 17 00:00:00 2001
From: ulif <uli@gnufix.de>
Date: Fri, 31 Jul 2015 22:07:27 +0200
Subject: [PATCH] Make sure shipped wordlist names are valid.

---
 tests/test_wordlist.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/test_wordlist.py b/tests/test_wordlist.py
index 48547e4..b7ca1d1 100644
--- a/tests/test_wordlist.py
+++ b/tests/test_wordlist.py
@@ -52,6 +52,8 @@ class TestWordlistModule(object):
         assert regexp.match("wordlist_foo.txt") is not None
         assert regexp.match("wordlist_foo_bar.asc") is not None
         assert regexp.match("wordlist_name-withdots.txt.asc") is not None
+        assert regexp.match("wordlist_en_8k.txt") is not None
+        assert regexp.match("wordlist_en_orig.asc") is not None
         # We can get the internal wordlist name
         assert regexp.match("wordlist_foo.txt").groups()[0] == "foo"
         assert regexp.match(
-- 
GitLab