[Zope3-checkins] SVN: Zope3/trunk/src/zope/testbrowser/ftests/testdoc.py put a test that depends on an internet connection into level 2.

Philipp von Weitershausen philikon at philikon.de
Tue Oct 11 12:38:30 EDT 2005


Log message for revision 39049:
  put a test that depends on an internet connection into level 2.
  

Changed:
  U   Zope3/trunk/src/zope/testbrowser/ftests/testdoc.py

-=-
Modified: Zope3/trunk/src/zope/testbrowser/ftests/testdoc.py
===================================================================
--- Zope3/trunk/src/zope/testbrowser/ftests/testdoc.py	2005-10-11 15:49:36 UTC (rev 39048)
+++ Zope3/trunk/src/zope/testbrowser/ftests/testdoc.py	2005-10-11 16:38:30 UTC (rev 39049)
@@ -20,11 +20,12 @@
 import doctest
 from zope.app.testing.functional import FunctionalDocFileSuite
 
-
 def test_suite():
-    return FunctionalDocFileSuite(
-        '../README.txt', '../over_the_wire.txt',
-        optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS)
+    flags = doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS
+    readme = FunctionalDocFileSuite('../Readme.txt', optionflags=flags)
+    wire = FunctionalDocFileSuite('../over_the_wire.txt', optionflags=flags)
+    wire.level = 2
+    return unittest.TestSuite((readme, wire))
 
 if __name__ == '__main__':
     unittest.main(defaultTest='test_suite')



More information about the Zope3-Checkins mailing list