ScoDoc/scotests/test_basic.py

18 lines
455 B
Python
Raw Normal View History

2020-12-26 00:11:55 +01:00
# -*- mode: python -*-
# -*- coding: utf-8 -*-
"""test de base de ScoDoc
Creation etudiant, formation, semestre, inscription etudiant, creation evaluation, saisie note
Utiliser comme:
scotests/scointeractive.sh -r TEST00 scotests/test_basic.py
"""
import scotests.sco_fake_gen as sco_fake_gen
G = sco_fake_gen.ScoFake(context.Notes) # pylint: disable=undefined-variable
etud = G.create_etud(code_nip=None)
F = G.create_formation(acronyme="")