[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup/tests - __init__.py:1.2 test_schema.py:1.2

Fred L. Drake, Jr. fred@zope.com
Wed, 29 Jan 2003 15:25:25 -0500


Update of /cvs-repository/Zope/lib/python/Zope/Startup/tests
In directory cvs.zope.org:/tmp/cvs-serv21529/tests

Added Files:
	__init__.py test_schema.py 
Log Message:
Update from chrism-install-branch.

=== Zope/lib/python/Zope/Startup/tests/__init__.py 1.1 => 1.2 ===
--- /dev/null	Wed Jan 29 15:25:24 2003
+++ Zope/lib/python/Zope/Startup/tests/__init__.py	Wed Jan 29 15:25:21 2003
@@ -0,0 +1,15 @@
+##############################################################################
+#
+# 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.
+#
+##############################################################################
+
+"""Tests of the Zope.Startup package."""


=== Zope/lib/python/Zope/Startup/tests/test_schema.py 1.1 => 1.2 ===
--- /dev/null	Wed Jan 29 15:25:24 2003
+++ Zope/lib/python/Zope/Startup/tests/test_schema.py	Wed Jan 29 15:25:21 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 that the Zope schema can be loaded."""
+
+import unittest
+
+import Zope.Startup
+
+
+class StartupTestCase(unittest.TestCase):
+
+    def test_load_schema(self):
+        Zope.Startup.getSchema()
+
+
+def test_suite():
+    return unittest.makeSuite(StartupTestCase)
+
+if __name__ == "__main__":
+    unittest.main(defaultTest="test_suite")