From 5b87aba29009440ed8df845ca6022a4ee6e443e8 Mon Sep 17 00:00:00 2001 From: Matteo Campinoti Date: Mon, 7 Oct 2024 10:56:25 +0200 Subject: [PATCH] tests.database - fix incorrect convert action --- tests/test_database.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_database.py b/tests/test_database.py index cf0a2f5a..fc09c527 100644 --- a/tests/test_database.py +++ b/tests/test_database.py @@ -23,6 +23,7 @@ from acacore.models.file import File from acacore.models.history import HistoryEntry from acacore.models.reference_files import Action +from acacore.models.reference_files import ConvertAction @pytest.fixture() @@ -50,7 +51,7 @@ def test_file(test_files: Path, test_files_data: dict[str, dict]) -> File: action: Action = Action( name=filedata["matches"]["format"], action="convert", - convert={"tool": "convertool", "outputs": ["odt", "pdf"]}, + convert=ConvertAction(tool="convertool", output="odt"), ) file: File = File.from_file(file_path)