[Checkins] SVN: zope.configuration/branches/tseaver-test_cleanup/src/zope/configuration/tests/test_zopeconfigure.py Prep for coverage.

Tres Seaver cvs-admin at zope.org
Tue May 8 01:19:06 UTC 2012


Log message for revision 125720:
  Prep for coverage.

Changed:
  A   zope.configuration/branches/tseaver-test_cleanup/src/zope/configuration/tests/test_zopeconfigure.py

-=-
Added: zope.configuration/branches/tseaver-test_cleanup/src/zope/configuration/tests/test_zopeconfigure.py
===================================================================
--- zope.configuration/branches/tseaver-test_cleanup/src/zope/configuration/tests/test_zopeconfigure.py	                        (rev 0)
+++ zope.configuration/branches/tseaver-test_cleanup/src/zope/configuration/tests/test_zopeconfigure.py	2012-05-08 01:19:03 UTC (rev 125720)
@@ -0,0 +1,32 @@
+##############################################################################
+#
+# Copyright (c) 2003 Zope Foundation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (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 zope.configuration.xmlconfig.
+"""
+import unittest
+
+
+class ZopeConfigureTests(unittest.TestCase):
+
+    def _getTargetClass(self):
+        from zope.configuration.xmlconfig import ZopeConfigure
+        return ZopeConfigure
+
+    def _makeOne(self, *args, **kw):
+        return self._getTargetClass()(*args, **kw)
+
+
+def test_suite():
+    return unittest.TestSuite((
+        unittest.makeSuite(ZopeConfigureTests),
+    ))



More information about the checkins mailing list