mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 05:26:13 +02:00
Unskip some tests (#1399)
* remove skip_editor test and tag * remove useless test * unskip blank input test * formatting * rename test so it doesn't overwrite other test * unskip some dayone tests that now work
This commit is contained in:
parent
49930e16f7
commit
1fbb788528
4 changed files with 28 additions and 63 deletions
|
@ -20,14 +20,13 @@ def when_we_change_directory(directory_name):
|
|||
|
||||
|
||||
# These variables are used in the `@when(re(...))` section below
|
||||
command = '(?P<command>[^"]+)'
|
||||
command = '(?P<command>[^"]*)'
|
||||
input_method = "(?P<input_method>enter|pipe)"
|
||||
user_input = '(?P<user_input>[^"]+)'
|
||||
user_input = '("(?P<user_input>[^"]*)")'
|
||||
|
||||
|
||||
@when(parse('we run "jrnl {command}" and {input_method}\n{user_input}'))
|
||||
@when(re(f'we run "jrnl {command}" and {input_method} "{user_input}"'))
|
||||
@when(re(f'we run "jrnl" and {input_method} "{user_input}"'))
|
||||
@when(re(f'we run "jrnl ?{command}" and {input_method} {user_input}'))
|
||||
@when(parse('we run "jrnl {command}"'))
|
||||
@when('we run "jrnl"')
|
||||
def we_run_jrnl(cli_run, capsys, keyring):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue