mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-03 15:16:12 +02:00
style fixes
This commit is contained in:
parent
90b7478516
commit
b9c9ce4606
3 changed files with 9 additions and 6 deletions
|
@ -1,2 +1,2 @@
|
||||||
mkdocs==1.1.2
|
mkdocs==1.1.2
|
||||||
mkdocs-include-markdown-plugin=2.8.0
|
mkdocs-include-markdown-plugin==2.8.0
|
||||||
|
|
|
@ -7,7 +7,7 @@ from jrnl.jrnl import _display_search_results
|
||||||
|
|
||||||
# fmt: off
|
# fmt: off
|
||||||
# see: https://github.com/psf/black/issues/664
|
# 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
|
#fmt: on
|
||||||
@mock.patch.object(argparse, "Namespace", return_value={"export": "markdown", "filename": "irrele.vant"})
|
@mock.patch.object(argparse, "Namespace", return_value={"export": "markdown", "filename": "irrele.vant"})
|
||||||
def test_export_format(mock_args, export_format):
|
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
|
from datetime import date
|
||||||
import json
|
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()
|
@pytest.fixture()
|
||||||
def create_entry():
|
def create_entry():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue