Commit ce20c14b authored by Jack Pearkes's avatar Jack Pearkes

Fix is_accessible test to handle a 404 response

parent 462ac84e
......@@ -178,7 +178,7 @@ def test_permissions():
view.allow_access = False
rv = client.get('/admin/mockview/')
eq_(rv.status_code, 403)
eq_(rv.status_code, 404)
def test_submenu():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment