[z3-checkins] r5393 - z3/Five/trunk/tests
faassen at codespeak.net
faassen at codespeak.net
Wed Jun 30 09:37:13 MEST 2004
Author: faassen
Date: Wed Jun 30 09:37:11 2004
New Revision: 5393
Modified:
z3/Five/trunk/tests/test_security2.py
Log:
Improve test to fail when something that is expected to be unauthorized
isn't. This didn't break any existing tests, luckily.
Modified: z3/Five/trunk/tests/test_security2.py
==============================================================================
--- z3/Five/trunk/tests/test_security2.py (original)
+++ z3/Five/trunk/tests/test_security2.py Wed Jun 30 09:37:11 2004
@@ -48,7 +48,9 @@
self.folder.ps()
except (AttributeError, Unauthorized):
pass
-
+ else:
+ self.fail("Authorized but shouldn't be")
+
view_names = [
'eagle.txt',
'falcon.html',
More information about the z3-checkins
mailing list