From 39621a9e150c0a359e4287f1aa42de1c46d26d43 Mon Sep 17 00:00:00 2001 From: outa Date: Thu, 22 Sep 2022 11:44:42 +0200 Subject: [PATCH] Use correct exporter class --- tests/unit/test_export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_export.py b/tests/unit/test_export.py index 25528fd7..3638a2da 100644 --- a/tests/unit/test_export.py +++ b/tests/unit/test_export.py @@ -10,7 +10,7 @@ from ruamel.yaml import YAML from jrnl.exception import JrnlException from jrnl.Journal import PlainJournal from jrnl.plugins.fancy_exporter import check_provided_linewrap_viability -from jrnl.plugins.text_exporter import TextExporter +from jrnl.plugins.yaml_exporter import YAMLExporter @pytest.fixture() @@ -49,5 +49,5 @@ class TestYaml: with TemporaryDirectory() as tmpdir: p = Path(tmpdir / "non_existing_folder") with pytest.raises(JrnlException): - TextExporter.write_file(simple_journal, p) + YAMLExporter.write_file(simple_journal, p) assert not p.exists()