aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/tests
diff options
context:
space:
mode:
Diffstat (limited to 'ihatemoney/tests')
-rw-r--r--ihatemoney/tests/tests.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ihatemoney/tests/tests.py b/ihatemoney/tests/tests.py
index 3797f09..fd72a8d 100644
--- a/ihatemoney/tests/tests.py
+++ b/ihatemoney/tests/tests.py
@@ -1434,6 +1434,12 @@ class APITestCase(IhatemoneyTestCase):
class ServerTestCase(IhatemoneyTestCase):
+ def test_homepage(self):
+ # See https://github.com/spiral-project/ihatemoney/pull/358
+ self.app.config['APPLICATION_ROOT'] = '/'
+ req = self.client.get("/")
+ self.assertStatus(200, req)
+
def test_unprefixed(self):
self.app.config['APPLICATION_ROOT'] = '/'
req = self.client.get("/foo/")