Is this right? It fixes two tests

This commit is contained in:
Ned Batchelder
2019-05-14 16:33:16 -04:00
parent fdd66e5390
commit 7359ca4fb2

View File

@@ -122,7 +122,7 @@ class GradingPolicyTestMixin(object):
"""
The view should return HTTP status 401 if user is unauthenticated.
"""
self.assert_get_for_course(expected_status_code=401, HTTP_AUTHORIZATION=None)
self.assert_get_for_course(expected_status_code=401, HTTP_AUTHORIZATION="")
def test_staff_authorized(self):
"""