Skip to content
Snippets Groups Projects
Commit 3d33de4d authored by ulif's avatar ulif
Browse files

Remove obsolete test.

parent e2f98db9
No related branches found
No related tags found
No related merge requests found
...@@ -188,15 +188,6 @@ class TestWordList(object): ...@@ -188,15 +188,6 @@ class TestWordList(object):
result = tuple(w_list) result = tuple(w_list)
assert result == ("foo", "bar", "baz") assert result == ("foo", "bar", "baz")
def test_open_file_descriptor_signed(self):
# we can handle signed wordlists from open file descriptors
in_path = os.path.join(
os.path.dirname(__file__), "sample_signed_wordlist.asc")
with open(str(in_path), "r") as my_open_file:
w_list = WordList(my_open_file)
result = tuple(w_list)
assert ("foo", "bar", "-dash-at-start", "baz") == result
def test_detect_unsigned_wordlists(self, tmpdir): def test_detect_unsigned_wordlists(self, tmpdir):
# we can detect unsigned wordlist files. # we can detect unsigned wordlist files.
in_file = tmpdir.mkdir("work").join("mywordlist") in_file = tmpdir.mkdir("work").join("mywordlist")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment