[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests - test_pluggableauth.py:1.2
Chris McDonough
chrism@zope.com
Mon, 23 Jun 2003 18:46:19 -0400
Update of /cvs-repository/Zope3/src/zope/app/services/tests
In directory cvs.zope.org:/tmp/cvs-serv30079/src/zope/app/services/tests
Added Files:
test_pluggableauth.py
Log Message:
Merge pluggable_authentication_service-branch to HEAD.
You can now use a pluggable authentication service in place of a simple authentication service.
=== Zope3/src/zope/app/services/tests/test_pluggableauth.py 1.1 => 1.2 ===
--- /dev/null Mon Jun 23 18:46:19 2003
+++ Zope3/src/zope/app/services/tests/test_pluggableauth.py Mon Jun 23 18:46:18 2003
@@ -0,0 +1,32 @@
+##############################################################################
+#
+# Copyright (c) 2003 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Test the PluggableAuthenticationService.
+
+
+$Id$
+"""
+
+import unittest
+from zope.interface import *
+from zope.testing.doctestunit import DocTestSuite
+from zope.interface import Interface
+
+def test_suite():
+ suite = unittest.TestSuite()
+ suite.addTest(DocTestSuite("zope.app.services.pluggableauth"))
+
+ return suite
+
+if __name__ == '__main__':
+ unittest.main()