mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-05 07:56:14 +02:00
clean up unittests
This commit is contained in:
parent
f3d8ed2e45
commit
2d7ff73696
2 changed files with 23 additions and 9 deletions
|
@ -4,14 +4,14 @@ import mock
|
|||
|
||||
import yaml
|
||||
from jrnl.args import parse_args
|
||||
from jrnl.jrnl import run, search_mode
|
||||
from jrnl.jrnl import run
|
||||
from jrnl import install
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
def minimal_config():
|
||||
with open("features/data/configs/editor.yaml", "r") as cfg_file:
|
||||
cfg = yaml.load(cfg_file.read())
|
||||
cfg = yaml.load(cfg_file.read(), Loader=yaml.FullLoader)
|
||||
yield cfg
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue