[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TopicIndex/test - testTopicIndex.py:1.1.2.4

Andreas Jung andreas@zope.com
Thu, 18 Oct 2001 09:04:17 -0400


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TopicIndex/test
In directory cvs.zope.org:/tmp/cvs-serv18193/test

Modified Files:
      Tag: ajung-topicindex
	testTopicIndex.py 
Log Message:
removed framework dependancy


=== Zope/lib/python/Products/PluginIndexes/TopicIndex/test/testTopicIndex.py 1.1.2.3 => 1.1.2.4 ===
-execfile(os.path.join(sys.path[0],'framework.py'))
 from Products.PluginIndexes.TopicIndex.TopicIndex import TopicIndex
 import Zope
 from Products.ZCatalog.ZCatalog import ZCatalog
@@ -137,6 +136,9 @@
         ))
 
 
-framework()
+def main():
+    unittest.TextTestRunner().run(test_suite())
 
+if __name__ == '__main__':
+    main()