SVN: ZODB/trunk/src/ZODB/scripts/tests.py Ensure that repozo can be imported.

Tres Seaver <[email protected]>
Newsgroups gmane.comp.python.zope.zodb.cvs
Message-ID <20091120164804.5A1DE94184__3987.45057541436$1258735700$gmane$org@cvs.zope.org>
Log message for revision 105914:
  Ensure that repozo can be imported.

Changed:
  U   ZODB/trunk/src/ZODB/scripts/tests.py

-=-
Modified: ZODB/trunk/src/ZODB/scripts/tests.py
===================================================================
--- ZODB/trunk/src/ZODB/scripts/tests.py	2009-11-20 16:38:27 UTC (rev 105913)
+++ ZODB/trunk/src/ZODB/scripts/tests.py	2009-11-20 16:48:04 UTC (rev 105914)
@@ -26,6 +26,11 @@
     (re.compile('hash=[0-9a-f]{40}'),
      'hash=b16422d09fabdb45d4e4325e4b42d7d6f021d3c3')])
 
+class RepozoTests(unittest.TestCase):
+
+    def test_importability(self):
+        from ZODB.scripts import repozo
+
 def test_suite():
     return unittest.TestSuite((
         doctest.DocFileSuite(
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.