Fix unit tests setup

This commit is contained in:
Emmanuel Viennet 2022-12-09 02:00:21 -03:00 committed by iziram
parent bec4cd7978
commit f5442b924f

View File

@ -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