Implement stream redirection in pytest-bdd

- Take out old steps from format and input tests

Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
This commit is contained in:
Jonathan Wren 2021-05-22 12:32:59 -07:00
parent 512fb63e1f
commit 44b1762b7d
3 changed files with 14 additions and 8 deletions

View file

@ -4,8 +4,7 @@ Feature: Importing data
Given we use the config "<config_file>"
And we use the password "test" if prompted
When we run "jrnl --import" and pipe "[2020-07-05 15:00] Observe and import."
Then we flush the output
When we run "jrnl -c import"
When we run "jrnl -9 --short"
Then the output should contain "Observe and import"
Examples: Configs