[Zope3-checkins] CVS: Zope3/src/zope/app/container/browser/tests - test_adding.py:1.6.2.1

Martijn Faassen m.faassen at vet.uu.nl
Tue May 11 05:10:39 EDT 2004


Update of /cvs-repository/Zope3/src/zope/app/container/browser/tests
In directory cvs.zope.org:/tmp/cvs-serv20906/src/zope/app/container/browser/tests

Modified Files:
      Tag: faassen-interfaces-branch
	test_adding.py 
Log Message:
Sync up with changes in HEAD (so I can generate up to date patch file).


=== Zope3/src/zope/app/container/browser/tests/test_adding.py 1.6 => 1.6.2.1 ===
--- Zope3/src/zope/app/container/browser/tests/test_adding.py:1.6	Thu May  6 11:46:04 2004
+++ Zope3/src/zope/app/container/browser/tests/test_adding.py	Tue May 11 05:10:08 2004
@@ -180,6 +180,13 @@
         self.assertEqual(adding.request.response._headers['location'],
                          '/container/+/Thing/screen1=foo')
 
+    def test_publishTraverse_factory(self):
+        factory = Factory()
+        ztapi.provideUtility(IFactory, factory, 'foo')
+        container = Container()
+        request = TestRequest()
+        adding = Adding(container, request)
+        self.assert_(adding.publishTraverse(request, 'foo') is factory)
 
 
 def test_constraint_driven_addingInfo():




More information about the Zope3-Checkins mailing list