mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-04 07:26:14 +02:00
(closer to) being able to run behave tests outside project root directory
This commit is contained in:
parent
96f1d77cdc
commit
c990c8c9ad
4 changed files with 63 additions and 47 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue