Skip to content

Commit

Permalink
fix(tests): move import after importorskip
Browse files Browse the repository at this point in the history
  • Loading branch information
bouttier committed Sep 19, 2024
1 parent d5cca73 commit 30e42d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/geonature/tests/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from geonature.core.gn_synthese.models import Synthese
from geonature.core.gn_commons.models import TValidations, VLatestValidations
from geonature.core.gn_profiles.models import VConsistancyData
from gn_module_validation.tasks import set_auto_validation
from geonature.utils.env import db
from geonature.utils.config import config

Expand All @@ -22,6 +21,8 @@
"VALIDATION" in config["DISABLED_MODULES"], reason="Validation is disabled"
)

from gn_module_validation.tasks import set_auto_validation


@pytest.fixture()
def validation_with_max_score_and_wait_validation_status():
Expand Down

0 comments on commit 30e42d9

Please sign in to comment.