aboutsummaryrefslogtreecommitdiffstats
path: root/app_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'app_test.py')
-rw-r--r--app_test.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/app_test.py b/app_test.py
index 2176fe08..651d7a96 100644
--- a/app_test.py
+++ b/app_test.py
@@ -32,6 +32,11 @@ class SiteTest(TestCase):
class RootEndpoint(SiteTest):
""" Test cases for the root endpoint and error handling """
+ def test_countdown(self):
+ """ Check the countdown path responds with 200 OK """
+ response = self.client.get('/countdown', "http://pytest.local")
+ self.assertEqual(response.status_code, 200)
+
def test_index(self):
""" Check the root path reponds with 200 OK """
response = self.client.get('/', 'http://pytest.local')