mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-19 20:48:31 +02:00
make format
This commit is contained in:
parent
b8daeec6b9
commit
ddb62b7cb3
1 changed files with 3 additions and 2 deletions
|
@ -388,6 +388,7 @@ def all_input_was_used(context):
|
|||
for temp in context.iter_text:
|
||||
assert "" == temp, "Not all inputs were consumed"
|
||||
|
||||
|
||||
@when('we run "{command}"')
|
||||
@when('we run "{command}" and pipe')
|
||||
@when('we run "{command}" and pipe "{text}"')
|
||||
|
@ -397,8 +398,8 @@ def run(context, command, text=""):
|
|||
if "config_path" in context and context.config_path is not None:
|
||||
with open(context.config_path) as f:
|
||||
context.jrnl_config = yaml.load(f, Loader=yaml.FullLoader)
|
||||
else:
|
||||
context.jrnl_config = None
|
||||
else:
|
||||
context.jrnl_config = None
|
||||
|
||||
if "cache_dir" in context and context.cache_dir is not None:
|
||||
cache_dir = os.path.join("features", "cache", context.cache_dir)
|
||||
|
|
Loading…
Add table
Reference in a new issue