[Zope-Checkins] CVS: Zope3/lib/python/Zope/ComponentArchitecture/tests - testFactory.py:1.1.2.2

Tres Seaver tseaver@zope.com
Tue, 20 Nov 2001 17:21:23 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/ComponentArchitecture/tests
In directory cvs.zope.org:/tmp/cvs-serv27345/Zope/ComponentArchitecture/tests

Modified Files:
      Tag: Zope-3x-branch
	testFactory.py 
Log Message:


 - Update factory tests to accomodate change to 'createObject' API.

 - Update other tests which depend on 'createObject.


=== Zope3/lib/python/Zope/ComponentArchitecture/tests/testFactory.py 1.1.2.1 => 1.1.2.2 ===
     def test_provide_factory(self):
         provideFactory("Some.Object", MyFactory())
-        thing = createObject("Some.Object")
+        thing = createObject(None,"Some.Object")
         self.assert_(isinstance(thing, MyThing))