From f5442b924f91bc857bb21f810acefb719f5405a9 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 9 Dec 2022 02:00:21 -0300 Subject: [PATCH] Fix unit tests setup --- tests/unit/setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/setup.py b/tests/unit/setup.py index 904322425..229e97143 100644 --- a/tests/unit/setup.py +++ b/tests/unit/setup.py @@ -2,7 +2,6 @@ Quelques fonctions d'initialisation pour tests unitaires """ -from tests.unit import sco_fake_gen from app import models import app.scodoc.sco_utils as scu @@ -13,6 +12,8 @@ NOTES_T = [ float(x) for x in (20, 0, 10, 13 / 7.0, 12.5, 24.0 / 11) + tuple(range(1, 19)) ] +from tests.unit import sco_fake_gen + def build_formation_test( nb_mods=1, parcours=sco_codes_parcours.ParcoursBUT, with_ue_sport=False