mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 05:26:13 +02:00
Add bdd tests for jrnl installation (#1513)
* Added bdd tests for jrnl installation
This commit is contained in:
parent
23bc0f2c8f
commit
8b955ef002
6 changed files with 95 additions and 1 deletions
|
@ -23,6 +23,8 @@ def when_we_change_directory(directory_name):
|
|||
command = '(?P<command>[^"]*)'
|
||||
input_method = "(?P<input_method>enter|pipe|type)"
|
||||
all_input = '("(?P<all_input>[^"]*)")'
|
||||
# Note: A line with only a raw newline r'\n' is treated as
|
||||
# an empty line of input internally for testing purposes.
|
||||
|
||||
|
||||
@when(parse('we run "jrnl {command}" and {input_method}\n{all_input}'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue