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

Make sure SPECIAL_CHARS are sane.

parent 5a84dac2
No related branches found
No related tags found
No related merge requests found
...@@ -129,6 +129,10 @@ class TestDicewareModule(object): ...@@ -129,6 +129,10 @@ class TestDicewareModule(object):
for x in range(100): for x in range(100):
assert insert_special_char('foo') in expected_matrix assert insert_special_char('foo') in expected_matrix
def test_special_chars_do_not_quote(self):
# backslashes in SPECIAL_CHAR do not hide away chars
assert len(SPECIAL_CHARS) == 36
def test_get_passphrase(self): def test_get_passphrase(self):
# we can get passphrases # we can get passphrases
r1 = get_passphrase() r1 = get_passphrase()
......
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