Skip to content

Commit

Permalink
fix (test): move new fixture in test import synthese
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Oct 1, 2024
1 parent 4d47bec commit 5d01eea
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions backend/geonature/tests/imports/test_imports_synthese.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def autogenerate():


@pytest.fixture()
def import_dataset(datasets, import_file_name, display_unique_dataset_id):
def import_dataset(datasets, import_file_name):
ds = datasets["own_dataset"]
if import_file_name == "nomenclatures_file.csv":
previous_data_origin = ds.nomenclature_data_origin
Expand Down Expand Up @@ -270,7 +270,11 @@ def change_id_list_conf(monkeypatch, sample_taxhub_list):


@pytest.mark.usefixtures(
"client_class", "temporary_transaction", "celery_eager", "default_synthese_destination"
"client_class",
"temporary_transaction",
"celery_eager",
"default_synthese_destination",
"display_unique_dataset_id",
)
class TestImportsSynthese:
def test_import_permissions(self, g_permissions, synthese_destination):
Expand Down

0 comments on commit 5d01eea

Please sign in to comment.