Commit 310b9531 authored by Serge S. Koval's avatar Serge S. Koval

Merge pull request #322 from Trii/master-forbidden-on-not-accessible

I didn't think to check the tests . . . sorry!
parents 87c724b1 ed68915e
......@@ -229,7 +229,7 @@ def test_permissions():
view.allow_access = False
rv = client.get('/admin/mockview/')
eq_(rv.status_code, 404)
eq_(rv.status_code, 403)
def get_visibility():
......
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