This commit is contained in:
Colin Goutte 2021-09-29 15:21:51 +02:00
parent e7be2ec1d2
commit e09f161b97
1 changed files with 7 additions and 0 deletions

View File

@ -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% """