[Zope3-checkins] SVN: Zope3/branches/testbrowser-integration/src/zope/app/testing/testbrowser/ remove code to deal with dependancies not being present, dependencies will be

Benji York benji at zope.com
Wed Jul 27 08:44:11 EDT 2005


Log message for revision 37476:
  remove code to deal with dependancies not being present, dependencies will be
  added before merged back to the trunk
  

Changed:
  U   Zope3/branches/testbrowser-integration/src/zope/app/testing/testbrowser/__init__.py
  U   Zope3/branches/testbrowser-integration/src/zope/app/testing/testbrowser/ftests.py

-=-
Modified: Zope3/branches/testbrowser-integration/src/zope/app/testing/testbrowser/__init__.py
===================================================================
--- Zope3/branches/testbrowser-integration/src/zope/app/testing/testbrowser/__init__.py	2005-07-27 12:38:02 UTC (rev 37475)
+++ Zope3/branches/testbrowser-integration/src/zope/app/testing/testbrowser/__init__.py	2005-07-27 12:44:10 UTC (rev 37476)
@@ -1,4 +1 @@
-try:
-    from testing import Browser
-except ImportError:
-    pass
+from testing import Browser

Modified: Zope3/branches/testbrowser-integration/src/zope/app/testing/testbrowser/ftests.py
===================================================================
--- Zope3/branches/testbrowser-integration/src/zope/app/testing/testbrowser/ftests.py	2005-07-27 12:38:02 UTC (rev 37475)
+++ Zope3/branches/testbrowser-integration/src/zope/app/testing/testbrowser/ftests.py	2005-07-27 12:44:10 UTC (rev 37476)
@@ -20,12 +20,7 @@
 from zope.app.testing.functional import FunctionalDocFileSuite
 
 def test_suite():
-    try:
-        import mechanize
-    except ImportError:
-        return
-    else:
-        return FunctionalDocFileSuite('README.txt')
+    return FunctionalDocFileSuite('README.txt')
 
 if __name__ == '__main__':
     unittest.main(defaultTest='test_suite')



More information about the Zope3-Checkins mailing list