(closer to) being able to run behave tests outside project root directory

This commit is contained in:
MinchinWeb 2021-05-16 19:19:23 -06:00
parent 96f1d77cdc
commit c990c8c9ad
4 changed files with 63 additions and 47 deletions

View file

@ -1,11 +1,11 @@
from jrnl.jrnl import run
from unittest import mock
# from __future__ import with_statement
from jrnl.args import parse_args
from behave import then
from features.steps.core import _mock_getpass, _mock_time_parse
from jrnl.args import parse_args
from jrnl.behave_testing import _mock_getpass
from jrnl.behave_testing import _mock_time_parse
from jrnl.jrnl import run
@then("the editor {editor} should have been called")