From b5c1178ac79f90d867dcf3fa84e9e08058b28911 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 16 Oct 2012 17:24:58 -0400 Subject: [PATCH] test_public_urls doesn't work with Tornado urls. (imported from commit fe56a80842ac7f34fc0af0f916ce26f94a4baca8) --- zephyr/tests.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zephyr/tests.py b/zephyr/tests.py index 9e7d0369f9..f77447dd66 100644 --- a/zephyr/tests.py +++ b/zephyr/tests.py @@ -108,17 +108,18 @@ class PublicURLTest(TestCase): """ Pages that should return a 200 when not logged in. """ + # FIXME: We should also test the Tornado URLs -- this codepath + # can't do so because this Django test mechanism doesn't go + # through Tornado. urls = {200: ["/accounts/home/", "/accounts/login/", "/accounts/logout/"], 302: ["/"], 400: ["/accounts/register/", - "/api/v1/get_messages", "/api/v1/get_public_streams", "/api/v1/get_subscriptions", "/api/v1/subscribe", "/api/v1/send_message", "/json/send_message/", "/json/update_pointer", - "/json/get_updates", "/json/settings/change/", "/json/subscriptions/list", "/json/subscriptions/remove",