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

Remove obsolete test.

We do not need to test `infile` as file descrtiptor, as we expect paths
(strings) from now on.
parent d2ca804a
No related branches found
Tags v0.2
No related merge requests found
...@@ -243,13 +243,6 @@ class TestDicewareModule(object): ...@@ -243,13 +243,6 @@ class TestDicewareModule(object):
phrase = get_passphrase(options) phrase = get_passphrase(options)
assert " " in phrase assert " " in phrase
def test_get_passphrase_wordlist_fd(self):
# we can pass in an own wordlist
options = handle_options(args=[])
options.infile = StringIO("word1\n")
phrase = get_passphrase(options)
assert "Word1" in phrase
def test_print_version(self, capsys): def test_print_version(self, capsys):
# we can print version infos # we can print version infos
print_version() print_version()
......
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