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

Test boolean config interpolation thoroughly.

We also have to check the "True" case to make the test relevant.
parent 6c9a5dcf
No related branches found
No related tags found
No related merge requests found
......@@ -75,3 +75,5 @@ class TestConfigModule(object):
conf_dict = get_config_dict()
assert "caps" in conf_dict.keys()
assert conf_dict["caps"] is False
config_file.write("\n".join(["[diceware]", "caps = On", ""]))
assert get_config_dict()["caps"] is True
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