From 95e766015914d244a658a53bc7863cb95e04b419 Mon Sep 17 00:00:00 2001 From: Manuel Ebert Date: Mon, 22 Jul 2013 21:24:25 +0200 Subject: [PATCH] Fixes encryption tests --- features/encryption.feature | 2 +- features/steps/core.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/features/encryption.feature b/features/encryption.feature index c7f94d62..a18e2477 100644 --- a/features/encryption.feature +++ b/features/encryption.feature @@ -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" diff --git a/features/steps/core.py b/features/steps/core.py index 531410aa..b3675c1c 100644 --- a/features/steps/core.py +++ b/features/steps/core.py @@ -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')