[Checkins] SVN: zope.broken/trunk/s Added a test that imports the module.

Albertas Agejevas cvs-admin at zope.org
Thu Feb 14 09:53:52 UTC 2013


Log message for revision 129375:
  Added a test that imports the module.
  

Changed:
  U   zope.broken/trunk/setup.py
  A   zope.broken/trunk/src/zope/broken/tests.py

-=-
Modified: zope.broken/trunk/setup.py
===================================================================
--- zope.broken/trunk/setup.py	2013-02-14 09:47:36 UTC (rev 129374)
+++ zope.broken/trunk/setup.py	2013-02-14 09:53:52 UTC (rev 129375)
@@ -48,6 +48,7 @@
       install_requires=['setuptools',
                         'zope.interface',
                        ],
+      test_suite='zope.broken.tests.test_suite',
       include_package_data = True,
       zip_safe = False,
       )

Added: zope.broken/trunk/src/zope/broken/tests.py
===================================================================
--- zope.broken/trunk/src/zope/broken/tests.py	                        (rev 0)
+++ zope.broken/trunk/src/zope/broken/tests.py	2013-02-14 09:53:52 UTC (rev 129375)
@@ -0,0 +1,27 @@
+##############################################################################
+#
+# Copyright (c) 2013 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.
+#
+##############################################################################
+"""Tests for zope.broken.
+"""
+
+import unittest
+
+
+class BrokenTest(unittest.TestCase):
+
+    def test_import(self):
+        from zope.broken.interfaces import IBroken
+
+
+def test_suite():
+    return unittest.makeSuite(BrokenTest)


Property changes on: zope.broken/trunk/src/zope/broken/tests.py
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native



More information about the checkins mailing list