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

@ -163,7 +163,6 @@ Feature: Custom formats
More stuff
more stuff again
Then we flush the output
When we run "jrnl -1 --export markdown"
Then the output should be
# 2020
@ -224,7 +223,6 @@ Feature: Custom formats
[2020-10-29 11:11] First entry.
[2020-10-29 11:11] Second entry.
[2020-10-29 11:13] Third entry.
Then we flush the output
When we run "jrnl -3 --format markdown"
Then the output should be
# 2020