[Checkins]
SVN: z3c.securitytool/trunk/src/z3c/securitytool/testing.py
Adding testing.py to svn to use local ftesting.zcml
Daniel Blackburn
blackburnd at gmail.com
Fri Dec 7 09:11:46 EST 2007
Log message for revision 82176:
Adding testing.py to svn to use local ftesting.zcml
TODO:
- Still need to fix README.txt to test with Browser()
Changed:
A z3c.securitytool/trunk/src/z3c/securitytool/testing.py
-=-
Added: z3c.securitytool/trunk/src/z3c/securitytool/testing.py
===================================================================
--- z3c.securitytool/trunk/src/z3c/securitytool/testing.py (rev 0)
+++ z3c.securitytool/trunk/src/z3c/securitytool/testing.py 2007-12-07 14:11:46 UTC (rev 82176)
@@ -0,0 +1,8 @@
+
+import os
+from zope.app.testing import functional
+
+SecurityToolLayer = functional.ZCMLLayer(
+ os.path.join(os.path.dirname(__file__), 'ftesting.zcml'),
+ __name__, 'SecuritiyToolLayer', allow_teardown=True)
+
More information about the Checkins
mailing list