[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/browser/tests - test_directives.py:1.36.2.1

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


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

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


=== Zope3/src/zope/app/publisher/browser/tests/test_directives.py 1.36 => 1.36.2.1 ===
--- Zope3/src/zope/app/publisher/browser/tests/test_directives.py:1.36	Wed May  5 08:14:42 2004
+++ Zope3/src/zope/app/publisher/browser/tests/test_directives.py	Tue May 11 05:10:26 2004
@@ -20,7 +20,7 @@
 import unittest
 from cStringIO import StringIO
 
-from zope.interface import Interface, implements, Interface
+from zope.interface import Interface, implements
 
 from zope.configuration.xmlconfig import xmlconfig, XMLConfig
 from zope.configuration.exceptions import ConfigurationError
@@ -88,7 +88,6 @@
 
 
 class C_w_implements(NCV):
-
     implements(Interface)
 
     def index(self):
@@ -953,9 +952,8 @@
         self.assert_(isinstance(v, V1))
 
     def testUnnamedViewThatProvidesAnInterface(self):
-
         request = TestRequest()
-        self.assertEqual(queryView(ob, '', request, None), None)
+        self.assertEqual(queryView(ob, '', request, None, providing=IV), None)
 
         xmlconfig(StringIO(template %
             """




More information about the Zope3-Checkins mailing list