From 78bc49f3cb88fe4da688af55d4351a511a982f01 Mon Sep 17 00:00:00 2001
From: ulif <uli@gnufix.de>
Date: Fri, 31 Jul 2015 22:08:29 +0200
Subject: [PATCH] Make sure we follow filename pattern.

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

diff --git a/tests/test_wordlist.py b/tests/test_wordlist.py
index b7ca1d1..36b094c 100644
--- a/tests/test_wordlist.py
+++ b/tests/test_wordlist.py
@@ -85,9 +85,9 @@ class TestWordlistModule(object):
 
     def test_get_wordlist_names(self, wordlists_dir):
         # we can get wordlist names also if directory is empty.
-        wlist_path = wordlists_dir.join('mywordlist_en_8k.txt')
+        wlist_path = wordlists_dir.join('wordlist_my_en_8k.txt')
         wlist_path.write("some\nirrelevant\nwords")
-        assert get_wordlist_names() == ['en_8k']
+        assert get_wordlist_names() == ['my_en_8k']
 
     def test_get_wordlist_names_files_only(self, wordlists_dir):
         # non-files are ignored when looking for wordlist names
-- 
GitLab