forked from ScoDoc/ScoDoc
Fix unit tests setup
This commit is contained in:
parent
bec4cd7978
commit
f5442b924f
@ -2,7 +2,6 @@
|
|||||||
Quelques fonctions d'initialisation pour tests unitaires
|
Quelques fonctions d'initialisation pour tests unitaires
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from tests.unit import sco_fake_gen
|
|
||||||
from app import models
|
from app import models
|
||||||
|
|
||||||
import app.scodoc.sco_utils as scu
|
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))
|
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(
|
def build_formation_test(
|
||||||
nb_mods=1, parcours=sco_codes_parcours.ParcoursBUT, with_ue_sport=False
|
nb_mods=1, parcours=sco_codes_parcours.ParcoursBUT, with_ue_sport=False
|
||||||
|
Loading…
Reference in New Issue
Block a user