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

Fix test. Do not use deprecated functions.

parent 3e498038
No related branches found
No related tags found
No related merge requests found
......@@ -293,7 +293,7 @@ class TestWordList(object):
in_path = os.path.join(
os.path.dirname(__file__), "sample_signed_wordlist.asc")
with open(in_path, 'r') as fd:
result = get_signed_wordlist(fd)
result = list(WordList(fd))
assert ["foo", "bar", "-dash-at-start", "baz"] == result
def test_get_signed_wordlist_handles_en_orig(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment