From 3c7a32bbad9c963a8ab82fc7930406e400456852 Mon Sep 17 00:00:00 2001 From: Etienne Delclaux Date: Tue, 21 Jan 2025 17:46:57 +0100 Subject: [PATCH] feat: update fieldmapping_unique_dataset_id in test_import_synthese --- backend/geonature/tests/imports/test_imports_synthese.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/geonature/tests/imports/test_imports_synthese.py b/backend/geonature/tests/imports/test_imports_synthese.py index d429f06965..fd986c9093 100644 --- a/backend/geonature/tests/imports/test_imports_synthese.py +++ b/backend/geonature/tests/imports/test_imports_synthese.py @@ -83,7 +83,10 @@ def testfiles_folder(): # provide with a default value - should bve overriden @pytest.fixture(scope="function") def fieldmapping_unique_dataset_id(import_dataset): - return {"default_value": str(import_dataset.unique_dataset_id)} + return { + "default_value": str(import_dataset.unique_dataset_id), + "column_src": "unique_dataset_id", + } @pytest.fixture(scope="function")