[Zope3-checkins] CVS: Zope3/src/zope/component/tests - test_api.py:1.3

Steve Alexander steve@cat-box.net
Wed, 22 Jan 2003 08:08:57 -0500


Update of /cvs-repository/Zope3/src/zope/component/tests
In directory cvs.zope.org:/tmp/cvs-serv24433

Modified Files:
	test_api.py 
Log Message:
corrected typos


=== Zope3/src/zope/component/tests/test_api.py 1.2 => 1.3 ===
--- Zope3/src/zope/component/tests/test_api.py:1.2	Wed Dec 25 09:13:32 2002
+++ Zope3/src/zope/component/tests/test_api.py	Wed Jan 22 08:08:54 2003
@@ -58,11 +58,11 @@
              import getAdapter, getService, queryAdapter
         from zope.component.exceptions import ComponentLookupError
 
-        # if an object implements the interface you want to adapt to,
-        # getAdapter should simply return the object
+        # If an object implements the interface you want to adapt to,
+        # getAdapter should simply return the object.
         self.assertEquals(getAdapter(ob, I1), ob)
 
-        # if an adapter isn't registered for the given object and interface,
+        # If an adapter isn't registered for the given object and interface,
         # and you provide no default, raise ComponentLookupError...
         self.assertRaises(ComponentLookupError, getAdapter, ob, I2)
 
@@ -82,12 +82,12 @@
              import getAdapter, getService, queryAdapter
         from zope.component.exceptions import ComponentLookupError
 
-        # if an object implements the interface you want to adapt to,
-        # getAdapter should simply return the object UNLESS we are sking for a
-        # names adapter.
+        # If an object implements the interface you want to adapt to,
+        # getAdapter should simply return the object UNLESS we are asking for a
+        # named adapter.
         self.assertRaises(ComponentLookupError, getAdapter, ob, I1, 'test')
 
-        # if an adapter isn't registered for the given object and interface,
+        # If an adapter isn't registered for the given object and interface,
         # and you provide no default, raise ComponentLookupError...
         self.assertRaises(ComponentLookupError, getAdapter, ob, I2, 'test')