mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-03 23:16:14 +02:00
style fixes
This commit is contained in:
parent
90b7478516
commit
b9c9ce4606
3 changed files with 9 additions and 6 deletions
|
@ -7,7 +7,7 @@ from jrnl.jrnl import _display_search_results
|
|||
|
||||
# fmt: off
|
||||
# see: https://github.com/psf/black/issues/664
|
||||
@pytest.mark.parametrize("export_format", [ "pretty", "short","markdown"])
|
||||
@pytest.mark.parametrize("export_format", [ "pretty", "short", "markdown"])
|
||||
#fmt: on
|
||||
@mock.patch.object(argparse, "Namespace", return_value={"export": "markdown", "filename": "irrele.vant"})
|
||||
def test_export_format(mock_args, export_format):
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
import pytest
|
||||
|
||||
from jrnl.plugins.exporter import testing_exporter, json_exporter
|
||||
from jrnl import Entry, Journal
|
||||
from datetime import date
|
||||
import json
|
||||
|
||||
import pytest
|
||||
|
||||
from jrnl import Entry
|
||||
from jrnl import Journal
|
||||
from jrnl.plugins.exporter import json as json_exporter
|
||||
from jrnl.plugins.exporter import testing as testing_exporter
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
def create_entry():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue