Fixes #374: bulletins BUT si non publiés

This commit is contained in:
Emmanuel Viennet 2022-05-04 05:45:46 +02:00
parent 22b0e29d72
commit 4981094fbe
2 changed files with 2 additions and 1 deletions

View File

@ -314,7 +314,7 @@ def formsemestre_bulletinetud(
)
if format == "json":
return sco_bulletins.get_formsemestre_bulletin_etud_json(
formsemestre, etud, version=version
formsemestre, etud, version=version, force_publishing=force_publishing
)
if formsemestre.formation.is_apc() and format == "html":
return render_template(

1
tests/api/__init__.py Normal file
View File

@ -0,0 +1 @@
# API tests