[Checkins] SVN: grok/trunk/src/grok/ftests/test_grok_functional.py remove tests that now have moved to grokcore.rest and grokcore.xmlrpc. This gets rid of the zope.app.http dependency

Jan-Wijbrand Kolman janwijbrand at gmail.com
Tue Jan 18 08:47:20 EST 2011


Log message for revision 119645:
  remove tests that now have moved to grokcore.rest and grokcore.xmlrpc. This gets rid of the zope.app.http dependency

Changed:
  U   grok/trunk/src/grok/ftests/test_grok_functional.py

-=-
Modified: grok/trunk/src/grok/ftests/test_grok_functional.py
===================================================================
--- grok/trunk/src/grok/ftests/test_grok_functional.py	2011-01-18 13:43:31 UTC (rev 119644)
+++ grok/trunk/src/grok/ftests/test_grok_functional.py	2011-01-18 13:47:19 UTC (rev 119645)
@@ -40,28 +40,36 @@
             continue
         if filename == '__init__.py':
             continue
-
         dottedname = 'grok.ftests.%s.%s' % (name, filename[:-3])
         test = doctest.DocTestSuite(
             dottedname,
             checker=checker,
-            extraglobs=dict(http_call=http_call,
-                            http=http,
-                            getRootFolder=FunctionalLayer.getRootFolder),
-            optionflags=(doctest.ELLIPSIS+
-                         doctest.NORMALIZE_WHITESPACE+
-                         doctest.REPORT_NDIFF))
+            extraglobs=dict(
+                http_call=http_call,
+                http=http,
+                getRootFolder=FunctionalLayer.getRootFolder),
+            optionflags=(
+                doctest.ELLIPSIS+
+                doctest.NORMALIZE_WHITESPACE+
+                doctest.REPORT_NDIFF)
+                )
         test.layer = FunctionalLayer
-
         suite.addTest(test)
     return suite
 
 def test_suite():
     suite = unittest.TestSuite()
     for name in [
-        'xmlrpc',
-        'traversal', 'form', 'url', 'security', 'rest',
-        'catalog', 'site', 'application', 'viewlet', 'lifecycle']:
+        'application',
+        'catalog',
+        'form',
+        'lifecycle',
+        'security',
+        'site',
+        'traversal',
+        'url',
+        'viewlet',
+        ]:
         suite.addTest(suiteFromPackage(name))
     return suite
 



More information about the checkins mailing list