[Checkins] SVN: z3ext.preferences/trunk/src/z3ext/preferences/tests

Nikolay Kim fafhrd at datacom.kz
Tue Dec 23 15:04:06 EST 2008


Log message for revision 94297:
  

Changed:
  A   z3ext.preferences/trunk/src/z3ext/preferences/tests/
  A   z3ext.preferences/trunk/src/z3ext/preferences/tests/__init__.py
  A   z3ext.preferences/trunk/src/z3ext/preferences/tests/tests.py
  D   z3ext.preferences/trunk/src/z3ext/preferences/tests.py

-=-
Added: z3ext.preferences/trunk/src/z3ext/preferences/tests/__init__.py
===================================================================
--- z3ext.preferences/trunk/src/z3ext/preferences/tests/__init__.py	                        (rev 0)
+++ z3ext.preferences/trunk/src/z3ext/preferences/tests/__init__.py	2008-12-23 20:04:06 UTC (rev 94297)
@@ -0,0 +1 @@
+# This file is necessary to make this directory a package.

Copied: z3ext.preferences/trunk/src/z3ext/preferences/tests/tests.py (from rev 94281, z3ext.preferences/trunk/src/z3ext/preferences/tests.py)
===================================================================
--- z3ext.preferences/trunk/src/z3ext/preferences/tests/tests.py	                        (rev 0)
+++ z3ext.preferences/trunk/src/z3ext/preferences/tests/tests.py	2008-12-23 20:04:06 UTC (rev 94297)
@@ -0,0 +1,44 @@
+##############################################################################
+#
+# Copyright (c) 2004 Zope Corporation 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.
+#
+##############################################################################
+"""Tests for the Preferences System
+
+$Id$
+"""
+import unittest, doctest
+from zope.testing import doctestunit
+from zope.component import testing
+from zope.app.testing import setup
+
+def setUp(test):
+    testing.setUp(test)
+    setup.setUpTestAsModule(test, 'z3ext.preferences.README')
+
+def tearDown(test):
+    testing.tearDown(test)
+    setup.tearDownTestAsModule(test)
+
+def test_suite():
+    return unittest.TestSuite((
+        doctest.DocFileSuite(
+            '../README.txt',
+            setUp=setUp, tearDown=tearDown,
+            globs={'pprint': doctestunit.pprint},
+            optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS),
+        doctest.DocTestSuite(
+            '../z3ext.preferences.utils',
+            optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS),
+        doctest.DocTestSuite(
+            '../z3ext.preferences.preferencetype',
+            optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS),
+        ))

Deleted: z3ext.preferences/trunk/src/z3ext/preferences/tests.py
===================================================================
--- z3ext.preferences/trunk/src/z3ext/preferences/tests.py	2008-12-23 19:50:17 UTC (rev 94296)
+++ z3ext.preferences/trunk/src/z3ext/preferences/tests.py	2008-12-23 20:04:06 UTC (rev 94297)
@@ -1,44 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2004 Zope Corporation 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.
-#
-##############################################################################
-"""Tests for the Preferences System
-
-$Id$
-"""
-import unittest, doctest
-from zope.testing import doctestunit
-from zope.component import testing
-from zope.app.testing import setup
-
-def setUp(test):
-    testing.setUp(test)
-    setup.setUpTestAsModule(test, 'z3ext.preferences.README')
-
-def tearDown(test):
-    testing.tearDown(test)
-    setup.tearDownTestAsModule(test)
-
-def test_suite():
-    return unittest.TestSuite((
-        doctest.DocFileSuite(
-            'README.txt',
-            setUp=setUp, tearDown=tearDown,
-            globs={'pprint': doctestunit.pprint},
-            optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS),
-        doctest.DocTestSuite(
-            'z3ext.preferences.utils',
-            optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS),
-        doctest.DocTestSuite(
-            'z3ext.preferences.preferencetype',
-            optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS),
-        ))



More information about the Checkins mailing list