From e09f161b97e0db87234c40a2f4cea05d1f296014 Mon Sep 17 00:00:00 2001 From: Colin Goutte Date: Wed, 29 Sep 2021 15:21:51 +0200 Subject: [PATCH] TDD --- tests/test_papi.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/test_papi.py b/tests/test_papi.py index 2d07cab..6329fae 100644 --- a/tests/test_papi.py +++ b/tests/test_papi.py @@ -148,6 +148,13 @@ def test_onchange_notification(): assert len(notifs.json()) == 1 +def test_template_rendering(): + id_sonde = "masonde_histo" + notifs_text = client.get(f"/notifications/{idsonde}.txt") + assert notifs_text.ok + # assert something in notif_text.body ? + + class CodeCoverageTestCase(TestCase): """ Get covergage to 100% """