Commits

"danjac"  committed f49f9e0

tests for denial passing

  • Participants
  • Parent commits 76b6f3d

Comments (0)

Files changed (1)

File tests/test_principal.py

 
     client = mkapp().test_client()
     response = client.open("/m")
-    print response.status_code
     assert response.status_code == 200
+
+def test_denied_fails():
+
+    client = mkapp().test_client()
+    raises(PermissionDenied, client.open, '/n')