summaryrefslogtreecommitdiff
path: root/tests/unit/test_web.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/test_web.py')
-rwxr-xr-xtests/unit/test_web.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test_web.py b/tests/unit/test_web.py
index 1ffe4c4c4..15acd9298 100755
--- a/tests/unit/test_web.py
+++ b/tests/unit/test_web.py
@@ -245,9 +245,9 @@ class TestWeb(BaseTestWeb):
self.assertEqual(1, data[0]['queue'])
def test_web_bad_url(self):
- # do we 404 correctly
+ # do we redirect to index.html
resp = self.get_url("status/foo")
- self.assertEqual(404, resp.status_code)
+ self.assertEqual(200, resp.status_code)
def test_web_find_change(self):
# can we filter by change id