TDD
This commit is contained in:
parent
e7be2ec1d2
commit
e09f161b97
|
@ -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% """
|
||||
|
|
Loading…
Reference in New Issue