From 9eecd43a4a765e0af1fee81f42bd19f173382c10 Mon Sep 17 00:00:00 2001 From: Arjun Singh Date: Fri, 31 Aug 2012 17:49:15 -0700 Subject: [PATCH] Fix jump to courseware test to expect a redirect --- lms/djangoapps/courseware/tests/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/courseware/tests/tests.py b/lms/djangoapps/courseware/tests/tests.py index 56a2384bc5..d7fffb7499 100644 --- a/lms/djangoapps/courseware/tests/tests.py +++ b/lms/djangoapps/courseware/tests/tests.py @@ -218,7 +218,7 @@ class PageLoader(ActivateLoginTestCase): 'location': descriptor.location.url()})) msg = str(resp.status_code) - if resp.status_code != 200: + if resp.status_code != 302: msg = "ERROR " + msg all_ok = False num_bad += 1