[Checkins] SVN: zope.component/tseaver-test_cleanup/src/zope/component/ Accomodate rename.

Tres Seaver cvs-admin at zope.org
Fri May 11 02:55:40 UTC 2012


Log message for revision 125845:
  Accomodate rename.

Changed:
  U   zope.component/tseaver-test_cleanup/src/zope/component/interface.py
  U   zope.component/tseaver-test_cleanup/src/zope/component/tests/test_doctests.py
  U   zope.component/tseaver-test_cleanup/src/zope/component/zcml.txt
  U   zope.component/tseaver-test_cleanup/src/zope/component/zcml_conditional.txt

-=-
Modified: zope.component/tseaver-test_cleanup/src/zope/component/interface.py
===================================================================
--- zope.component/tseaver-test_cleanup/src/zope/component/interface.py	2012-05-11 01:59:05 UTC (rev 125844)
+++ zope.component/tseaver-test_cleanup/src/zope/component/interface.py	2012-05-11 02:55:37 UTC (rev 125845)
@@ -29,7 +29,7 @@
 
     >>> from zope.interface import Interface
     >>> from zope.interface.interfaces import IInterface
-    >>> from zope.component.tests import ITestType
+    >>> from zope.component.tests.test_doctests import ITestType
 
     >>> class I(Interface):
     ...     pass
@@ -103,7 +103,7 @@
     """Return interface or raise ComponentLookupError
 
     >>> from zope.interface import Interface
-    >>> from zope.component.tests import ITestType
+    >>> from zope.component.tests.test_doctests import ITestType
 
     >>> class I4(Interface):
     ...     pass
@@ -134,7 +134,7 @@
 
     >>> from zope.interface import Interface
     >>> from zope.interface.interfaces import IInterface
-    >>> from zope.component.tests import ITestType
+    >>> from zope.component.tests.test_doctests import ITestType
 
     >>> class I3(Interface):
     ...     pass
@@ -159,7 +159,7 @@
 
     >>> from zope.interface import Interface
     >>> from zope.interface.interfaces import IInterface
-    >>> from zope.component.tests import ITestType
+    >>> from zope.component.tests.test_doctests import ITestType
 
     >>> class I5(Interface):
     ...     pass
@@ -185,7 +185,7 @@
 
     >>> from zope.interface import Interface
     >>> from zope.interface.interfaces import IInterface
-    >>> from zope.component.tests import ITestType
+    >>> from zope.component.tests.test_doctests import ITestType
 
     >>> class I5(Interface):
     ...     pass

Modified: zope.component/tseaver-test_cleanup/src/zope/component/tests/test_doctests.py
===================================================================
--- zope.component/tseaver-test_cleanup/src/zope/component/tests/test_doctests.py	2012-05-11 01:59:05 UTC (rev 125844)
+++ zope.component/tseaver-test_cleanup/src/zope/component/tests/test_doctests.py	2012-05-11 02:55:37 UTC (rev 125845)
@@ -318,7 +318,7 @@
       Traceback (most recent call last):
       ...
       ComponentLookupError: (<Component implementing 'I1'>,
-                             <InterfaceClass zope.component.tests.I4>)
+                             <InterfaceClass zope.component.tests.test_doctests.I4>)
 
     ...otherwise, you get the default:
 
@@ -347,7 +347,7 @@
       Traceback (most recent call last):
       ...
       ComponentLookupError: (<instance Ob>,
-                             <InterfaceClass zope.component.tests.I2>,
+                             <InterfaceClass zope.component.tests.test_doctests.I2>,
                              '')
 
     ...otherwise, you get the default
@@ -405,7 +405,7 @@
       Traceback (most recent call last):
       ...
       TypeError: ('Could not adapt', <instance Ob2>,
-                  <InterfaceClass zope.component.tests.I1>)
+                  <InterfaceClass zope.component.tests.test_doctests.I1>)
 
     ...unless we specify an alternative adapter:
 
@@ -431,7 +431,7 @@
       Traceback (most recent call last):
       ...
       ComponentLookupError:
-      (<instance Ob>, <InterfaceClass zope.component.tests.I2>, 'bar')
+      (<instance Ob>, <InterfaceClass zope.component.tests.test_doctests.I2>, 'bar')
 
     ...otherwise, you get the default
 
@@ -471,7 +471,7 @@
       ...
       ComponentLookupError:
       ((<instance Ob>, <instance Ob2>),
-       <InterfaceClass zope.component.tests.I3>,
+       <InterfaceClass zope.component.tests.test_doctests.I3>,
        u'')
 
     ...otherwise, you get the default
@@ -573,7 +573,7 @@
       Traceback (most recent call last):
       ...
       ComponentLookupError: \
-      (<InterfaceClass zope.component.tests.I1>, '')
+      (<InterfaceClass zope.component.tests.test_doctests.I1>, '')
 
     ...otherwise, you get the default
 
@@ -606,7 +606,7 @@
       Traceback (most recent call last):
       ...
       ComponentLookupError:
-      (<InterfaceClass zope.component.tests.I1>, 'foo')
+      (<InterfaceClass zope.component.tests.test_doctests.I1>, 'foo')
 
 
     ...otherwise, you get the default
@@ -671,7 +671,7 @@
       ...
       TypeError: ('Could not adapt',
                   <instance Ob>,
-                  <InterfaceClass zope.component.tests.I2>)
+                  <InterfaceClass zope.component.tests.test_doctests.I2>)
 
 
       >>> I2(ob, 42)
@@ -1023,7 +1023,7 @@
       Traceback (most recent call last):
       ...
       ComponentLookupError:
-      No more utilities for <InterfaceClass zope.component.tests.IMyUtility>,
+      No more utilities for <InterfaceClass zope.component.tests.test_doctests.IMyUtility>,
       'myutil' have been found.
 
     You can also use `queryNextUtility` and specify a default:

Modified: zope.component/tseaver-test_cleanup/src/zope/component/zcml.txt
===================================================================
--- zope.component/tseaver-test_cleanup/src/zope/component/zcml.txt	2012-05-11 01:59:05 UTC (rev 125844)
+++ zope.component/tseaver-test_cleanup/src/zope/component/zcml.txt	2012-05-11 02:55:37 UTC (rev 125845)
@@ -36,7 +36,7 @@
 Before we register the first test adapter, we can verify that adapter
 lookup doesn't work yet:
 
-  >>> from zope.component.tests import clearZCML
+  >>> from zope.component.tests.test_doctests import clearZCML
   >>> clearZCML()
   >>> from zope.component.testfiles.components import IApp
   >>> IApp(Content(), None) is None
@@ -59,7 +59,7 @@
 lookup unique.  The name is supplied using the ``name`` argument to
 the <adapter /> directive:
 
-  >>> from zope.component.tests import clearZCML
+  >>> from zope.component.tests.test_doctests import clearZCML
   >>> clearZCML()
   >>> import zope.component
   >>> zope.component.queryAdapter(Content(), IApp, 'test') is None
@@ -997,7 +997,7 @@
 
 It doesn't yet provide ``ITestType``:
 
-  >>> from zope.component.tests import ITestType
+  >>> from zope.component.tests.test_doctests import ITestType
   >>> ITestType.providedBy(I)
   False
 
@@ -1010,7 +1010,7 @@
     <function provideInterface>,
     ('',
      <InterfaceClass __builtin__.I>,
-     <InterfaceClass zope.component.tests.ITestType>)),)
+     <InterfaceClass zope.component.tests.test_doctests.ITestType>)),)
 
 ...it does provide ``ITestType``:
 

Modified: zope.component/tseaver-test_cleanup/src/zope/component/zcml_conditional.txt
===================================================================
--- zope.component/tseaver-test_cleanup/src/zope/component/zcml_conditional.txt	2012-05-11 01:59:05 UTC (rev 125844)
+++ zope.component/tseaver-test_cleanup/src/zope/component/zcml_conditional.txt	2012-05-11 02:55:37 UTC (rev 125845)
@@ -44,7 +44,7 @@
 Before we register the first test adapter, we can verify that adapter
 lookup doesn't work yet:
 
-  >>> from zope.component.tests import clearZCML
+  >>> from zope.component.tests.test_doctests import clearZCML
   >>> clearZCML()
   >>> from zope.component.testfiles.components import IApp
   >>> IApp(Content(), None) is None
@@ -67,7 +67,6 @@
 lookup unique.  The name is supplied using the ``name`` argument to
 the <adapter /> directive:
 
-  >>> from zope.component.tests import clearZCML
   >>> clearZCML()
   >>> import zope.component
   >>> zope.component.queryAdapter(Content(), IApp, 'test') is None
@@ -588,7 +587,7 @@
 
 It doesn't yet provide ``ITestType``:
 
-  >>> from zope.component.tests import ITestType
+  >>> from zope.component.tests.test_doctests import ITestType
   >>> ITestType.providedBy(I)
   False
 
@@ -601,7 +600,7 @@
     <function provideInterface>,
     ('',
      <InterfaceClass __builtin__.I>,
-     <InterfaceClass zope.component.tests.ITestType>)),)
+     <InterfaceClass zope.component.tests.test_doctests.ITestType>)),)
 
 ...it does provide ``ITestType``:
 



More information about the checkins mailing list