[Checkins] SVN: lovely.remotetask/trunk/src/lovely/remotetask/tests.py remove $Id$, sort imports, remove __main__ slug
Christian Zagrodnick
cz at gocept.com
Wed May 20 04:33:09 EDT 2009
Log message for revision 100163:
remove $Id$, sort imports, remove __main__ slug
Changed:
U lovely.remotetask/trunk/src/lovely/remotetask/tests.py
-=-
Modified: lovely.remotetask/trunk/src/lovely/remotetask/tests.py
===================================================================
--- lovely.remotetask/trunk/src/lovely/remotetask/tests.py 2009-05-20 08:32:36 UTC (rev 100162)
+++ lovely.remotetask/trunk/src/lovely/remotetask/tests.py 2009-05-20 08:33:09 UTC (rev 100163)
@@ -13,24 +13,21 @@
##############################################################################
"""Remote Task test setup
-$Id$
"""
__docformat__ = "reStructuredText"
+from lovely.remotetask import service
+from zope.app.testing import placelesssetup
+from zope.app.testing.setup import (placefulSetUp, placefulTearDown)
+from zope.testing.doctest import INTERPRET_FOOTNOTES
+from zope.testing.doctestunit import DocFileSuite
+from zope.testing.loggingsupport import InstalledHandler
import doctest
import logging
import random
import unittest
-from zope.app.testing import placelesssetup
-from zope.app.testing.setup import (placefulSetUp,
- placefulTearDown)
-from zope.testing.doctestunit import DocFileSuite
-from zope.testing.doctest import INTERPRET_FOOTNOTES
-from zope.testing.loggingsupport import InstalledHandler
-from lovely.remotetask import service
-
def setUp(test):
root = placefulSetUp(site=True)
test.globs['root'] = root
@@ -105,6 +102,3 @@
optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS,
),
))
-
-if __name__ == '__main__':
- unittest.main(defaultTest='test_suite')
More information about the Checkins
mailing list