[Zope-Checkins] SVN: Zope/trunk/src/Products/PluginIndexes/ More code fossils
Hanno Schlichting
hannosch at hannosch.eu
Sat Jul 31 14:58:12 EDT 2010
Log message for revision 115279:
More code fossils
Changed:
U Zope/trunk/src/Products/PluginIndexes/DateIndex/DateIndex.py
U Zope/trunk/src/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py
U Zope/trunk/src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
U Zope/trunk/src/Products/PluginIndexes/DateRangeIndex/tests/test_DateRangeIndex.py
U Zope/trunk/src/Products/PluginIndexes/FieldIndex/FieldIndex.py
U Zope/trunk/src/Products/PluginIndexes/FieldIndex/tests/testFieldIndex.py
U Zope/trunk/src/Products/PluginIndexes/KeywordIndex/KeywordIndex.py
U Zope/trunk/src/Products/PluginIndexes/KeywordIndex/tests/testKeywordIndex.py
U Zope/trunk/src/Products/PluginIndexes/TopicIndex/FilteredSet.py
U Zope/trunk/src/Products/PluginIndexes/TopicIndex/TopicIndex.py
U Zope/trunk/src/Products/PluginIndexes/TopicIndex/tests/testTopicIndex.py
U Zope/trunk/src/Products/PluginIndexes/common/UnIndex.py
U Zope/trunk/src/Products/PluginIndexes/common/tests/test_UnIndex.py
U Zope/trunk/src/Products/PluginIndexes/common/tests/test_util.py
-=-
Modified: Zope/trunk/src/Products/PluginIndexes/DateIndex/DateIndex.py
===================================================================
--- Zope/trunk/src/Products/PluginIndexes/DateIndex/DateIndex.py 2010-07-31 18:55:17 UTC (rev 115278)
+++ Zope/trunk/src/Products/PluginIndexes/DateIndex/DateIndex.py 2010-07-31 18:58:12 UTC (rev 115279)
@@ -11,8 +11,6 @@
#
##############################################################################
"""Date index.
-
-$Id$
"""
import time
Modified: Zope/trunk/src/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py
===================================================================
--- Zope/trunk/src/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py 2010-07-31 18:55:17 UTC (rev 115278)
+++ Zope/trunk/src/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py 2010-07-31 18:58:12 UTC (rev 115279)
@@ -11,8 +11,6 @@
#
##############################################################################
"""DateIndex unit tests.
-
-$Id$
"""
import unittest
@@ -282,6 +280,3 @@
suite = unittest.TestSuite()
suite.addTest( unittest.makeSuite( DI_Tests ) )
return suite
-
-if __name__ == '__main__':
- unittest.main(defaultTest='test_suite')
Modified: Zope/trunk/src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
===================================================================
--- Zope/trunk/src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py 2010-07-31 18:55:17 UTC (rev 115278)
+++ Zope/trunk/src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py 2010-07-31 18:58:12 UTC (rev 115279)
@@ -11,8 +11,6 @@
#
##############################################################################
"""Date range index.
-
-$Id$
"""
import os
Modified: Zope/trunk/src/Products/PluginIndexes/DateRangeIndex/tests/test_DateRangeIndex.py
===================================================================
--- Zope/trunk/src/Products/PluginIndexes/DateRangeIndex/tests/test_DateRangeIndex.py 2010-07-31 18:55:17 UTC (rev 115278)
+++ Zope/trunk/src/Products/PluginIndexes/DateRangeIndex/tests/test_DateRangeIndex.py 2010-07-31 18:58:12 UTC (rev 115279)
@@ -11,8 +11,6 @@
#
##############################################################################
"""DateRangeIndex unit tests.
-
-$Id$
"""
import unittest
@@ -218,6 +216,3 @@
suite = unittest.TestSuite()
suite.addTest( unittest.makeSuite( DRI_Tests ) )
return suite
-
-if __name__ == '__main__':
- unittest.main(defaultTest='test_suite')
Modified: Zope/trunk/src/Products/PluginIndexes/FieldIndex/FieldIndex.py
===================================================================
--- Zope/trunk/src/Products/PluginIndexes/FieldIndex/FieldIndex.py 2010-07-31 18:55:17 UTC (rev 115278)
+++ Zope/trunk/src/Products/PluginIndexes/FieldIndex/FieldIndex.py 2010-07-31 18:58:12 UTC (rev 115279)
@@ -11,8 +11,6 @@
#
##############################################################################
"""Simple column indices.
-
-$Id$
"""
from App.special_dtml import DTMLFile
Modified: Zope/trunk/src/Products/PluginIndexes/FieldIndex/tests/testFieldIndex.py
===================================================================
--- Zope/trunk/src/Products/PluginIndexes/FieldIndex/tests/testFieldIndex.py 2010-07-31 18:55:17 UTC (rev 115278)
+++ Zope/trunk/src/Products/PluginIndexes/FieldIndex/tests/testFieldIndex.py 2010-07-31 18:58:12 UTC (rev 115279)
@@ -11,12 +11,9 @@
#
##############################################################################
"""FieldIndex unit tests.
-
-$Id$
"""
import unittest
-import Testing
import Zope2
Zope2.startup()
@@ -227,6 +224,3 @@
return unittest.TestSuite((
unittest.makeSuite(FieldIndexTests),
))
-
-if __name__ == '__main__':
- unittest.main(defaultTest='test_suite')
Modified: Zope/trunk/src/Products/PluginIndexes/KeywordIndex/KeywordIndex.py
===================================================================
--- Zope/trunk/src/Products/PluginIndexes/KeywordIndex/KeywordIndex.py 2010-07-31 18:55:17 UTC (rev 115278)
+++ Zope/trunk/src/Products/PluginIndexes/KeywordIndex/KeywordIndex.py 2010-07-31 18:58:12 UTC (rev 115279)
@@ -11,8 +11,6 @@
#
##############################################################################
"""Keyword index.
-
-$Id$
"""
from logging import getLogger
Modified: Zope/trunk/src/Products/PluginIndexes/KeywordIndex/tests/testKeywordIndex.py
===================================================================
--- Zope/trunk/src/Products/PluginIndexes/KeywordIndex/tests/testKeywordIndex.py 2010-07-31 18:55:17 UTC (rev 115278)
+++ Zope/trunk/src/Products/PluginIndexes/KeywordIndex/tests/testKeywordIndex.py 2010-07-31 18:58:12 UTC (rev 115279)
@@ -11,12 +11,9 @@
#
##############################################################################
"""KeywordIndex unit tests.
-
-$Id$
"""
import unittest
-import Testing
import Zope2
Zope2.startup()
@@ -273,6 +270,3 @@
suite = unittest.TestSuite()
suite.addTest( unittest.makeSuite( TestKeywordIndex ) )
return suite
-
-if __name__ == '__main__':
- unittest.main(defaultTest='test_suite')
Modified: Zope/trunk/src/Products/PluginIndexes/TopicIndex/FilteredSet.py
===================================================================
--- Zope/trunk/src/Products/PluginIndexes/TopicIndex/FilteredSet.py 2010-07-31 18:55:17 UTC (rev 115278)
+++ Zope/trunk/src/Products/PluginIndexes/TopicIndex/FilteredSet.py 2010-07-31 18:58:12 UTC (rev 115279)
@@ -11,9 +11,8 @@
#
##############################################################################
"""Filtered set.
-
-$Id$
"""
+
from logging import getLogger
import sys
Modified: Zope/trunk/src/Products/PluginIndexes/TopicIndex/TopicIndex.py
===================================================================
--- Zope/trunk/src/Products/PluginIndexes/TopicIndex/TopicIndex.py 2010-07-31 18:55:17 UTC (rev 115278)
+++ Zope/trunk/src/Products/PluginIndexes/TopicIndex/TopicIndex.py 2010-07-31 18:58:12 UTC (rev 115279)
@@ -11,8 +11,6 @@
#
##############################################################################
"""Topic index.
-
-$Id$
"""
from logging import getLogger
Modified: Zope/trunk/src/Products/PluginIndexes/TopicIndex/tests/testTopicIndex.py
===================================================================
--- Zope/trunk/src/Products/PluginIndexes/TopicIndex/tests/testTopicIndex.py 2010-07-31 18:55:17 UTC (rev 115278)
+++ Zope/trunk/src/Products/PluginIndexes/TopicIndex/tests/testTopicIndex.py 2010-07-31 18:58:12 UTC (rev 115279)
@@ -11,12 +11,9 @@
#
##############################################################################
"""TopicIndex unit tests.
-
-$Id$
"""
import unittest
-import Testing
import Zope2
Zope2.startup()
@@ -97,6 +94,3 @@
return unittest.TestSuite((
unittest.makeSuite(TestTopicIndex),
))
-
-if __name__ == '__main__':
- unittest.main(defaultTest='test_suite')
Modified: Zope/trunk/src/Products/PluginIndexes/common/UnIndex.py
===================================================================
--- Zope/trunk/src/Products/PluginIndexes/common/UnIndex.py 2010-07-31 18:55:17 UTC (rev 115278)
+++ Zope/trunk/src/Products/PluginIndexes/common/UnIndex.py 2010-07-31 18:58:12 UTC (rev 115279)
@@ -11,9 +11,8 @@
#
##############################################################################
"""Base for bi-directional indexes.
-
-$Id$
"""
+
from cgi import escape
from logging import getLogger
import sys
Modified: Zope/trunk/src/Products/PluginIndexes/common/tests/test_UnIndex.py
===================================================================
--- Zope/trunk/src/Products/PluginIndexes/common/tests/test_UnIndex.py 2010-07-31 18:55:17 UTC (rev 115278)
+++ Zope/trunk/src/Products/PluginIndexes/common/tests/test_UnIndex.py 2010-07-31 18:58:12 UTC (rev 115279)
@@ -11,9 +11,8 @@
#
#############################################################################
""" Tests for common UnIndex features.
-
-$Id$
"""
+
import unittest
class UnIndexTests(unittest.TestCase):
@@ -78,6 +77,3 @@
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(UnIndexTests))
return suite
-
-if __name__ == '__main__':
- unittest.main(defaultTest='test_suite')
Modified: Zope/trunk/src/Products/PluginIndexes/common/tests/test_util.py
===================================================================
--- Zope/trunk/src/Products/PluginIndexes/common/tests/test_util.py 2010-07-31 18:55:17 UTC (rev 115278)
+++ Zope/trunk/src/Products/PluginIndexes/common/tests/test_util.py 2010-07-31 18:58:12 UTC (rev 115279)
@@ -11,8 +11,6 @@
#
##############################################################################
"""Unit tests for util module.
-
-$Id$
"""
import unittest
@@ -60,6 +58,3 @@
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(parseIndexRequestTests))
return suite
-
-if __name__ == '__main__':
- unittest.main(defaultTest='test_suite')
More information about the Zope-Checkins
mailing list