Fixes encryption tests

This commit is contained in:
Manuel Ebert 2013-07-22 21:24:25 +02:00
parent e78786e19a
commit bf69e0042e
2 changed files with 1 additions and 2 deletions

View file

@ -18,7 +18,7 @@
When we run "jrnl --encrypt" and enter "swordfish"
Then we should see the message "Journal encrypted"
and the config should have "encrypt" set to "bool:True"
When we run "jrnl -n 1" and enter "swordish"
When we run "jrnl -n 1" and enter "swordfish"
Then we should see the message "Password"
and the output should contain "2013-06-10 15:40 Life is good"

View file

@ -90,7 +90,6 @@ def config_var(context, key, value):
with open(jrnl.CONFIG_PATH) as config_file:
config = json.load(config_file)
assert key in config
print key, config[key], type(config[key]), value, type(value)
assert config[key] == value
@then('the journal should have {number:d} entries')