From 4981094fbed392d18fa4fc2e9ade64c95ab53203 Mon Sep 17 00:00:00 2001
From: Emmanuel Viennet <emmanuel.viennet@gmail.com>
Date: Wed, 4 May 2022 05:45:46 +0200
Subject: [PATCH] =?UTF-8?q?Fixes=20#374:=20bulletins=20BUT=20si=20non=20pu?=
 =?UTF-8?q?bli=C3=A9s?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/views/notes.py    | 2 +-
 tests/api/__init__.py | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 tests/api/__init__.py

diff --git a/app/views/notes.py b/app/views/notes.py
index adde8b6a1..e66a42f7b 100644
--- a/app/views/notes.py
+++ b/app/views/notes.py
@@ -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(
diff --git a/tests/api/__init__.py b/tests/api/__init__.py
new file mode 100644
index 000000000..a365074d5
--- /dev/null
+++ b/tests/api/__init__.py
@@ -0,0 +1 @@
+# API tests
-- 
GitLab