[Zope3-checkins]
SVN: Zope3/trunk/src/zope/interface/common/tests/test_import_interfaces.py
Added an interface import test.
Jim Fulton
jim at zope.com
Mon Feb 19 07:21:02 EST 2007
Log message for revision 72676:
Added an interface import test.
Changed:
A Zope3/trunk/src/zope/interface/common/tests/test_import_interfaces.py
-=-
Added: Zope3/trunk/src/zope/interface/common/tests/test_import_interfaces.py
===================================================================
--- Zope3/trunk/src/zope/interface/common/tests/test_import_interfaces.py 2007-02-19 11:55:00 UTC (rev 72675)
+++ Zope3/trunk/src/zope/interface/common/tests/test_import_interfaces.py 2007-02-19 12:21:01 UTC (rev 72676)
@@ -0,0 +1,29 @@
+##############################################################################
+#
+# Copyright (c) 2006 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.
+#
+##############################################################################
+import unittest
+from zope.testing import doctest
+
+def test_interface_import():
+ """
+ >>> import zope.interface.common.interfaces
+ """
+
+def test_suite():
+ return unittest.TestSuite((
+ doctest.DocTestSuite(),
+ ))
+
+if __name__ == '__main__':
+ unittest.main(defaultTest='test_suite')
+
Property changes on: Zope3/trunk/src/zope/interface/common/tests/test_import_interfaces.py
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
More information about the Zope3-Checkins
mailing list