remove py2 remnants and use mocks in tests

This commit is contained in:
Peter Schmidbauer 2019-10-30 18:59:46 +01:00
parent ef23d7eabe
commit da084dad0b
24 changed files with 156 additions and 246 deletions

View file

@ -13,11 +13,11 @@ Feature: Upgrading Journals from 1.x.x to 2.x.x
Scenario: Upgrading a journal encrypted with jrnl 1.x
Given we use the config "encrypted_old.json"
When we run "jrnl -n 1" and enter
When we run "jrnl -n 1" and enter
"""
Y
bad doggie no biscuit
bad doggie no biscuit
"""
Then we should see the message "Password"
Then the output should contain "Password"
and the output should contain "2013-06-10 15:40 Life is good"