Add test for temperature report.

This commit is contained in:
Pavol Gazda 2023-01-03 00:35:23 +01:00 committed by Christopher Charbonneau Wells
parent 2519dad74c
commit 2725a864ef
1 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,9 @@ class ViewsTestCase(TestCase):
page = self.c.get("{}/sleep/totals/".format(base_url)) page = self.c.get("{}/sleep/totals/".format(base_url))
self.assertEqual(page.status_code, 200) self.assertEqual(page.status_code, 200)
page = self.c.get("{}/temperature/temperature/".format(base_url))
self.assertEqual(page.status_code, 200)
page = self.c.get("{}/tummy-time/duration/".format(base_url)) page = self.c.get("{}/tummy-time/duration/".format(base_url))
self.assertEqual(page.status_code, 200) self.assertEqual(page.status_code, 200)