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

Jim Fulton jim@zope.com
Sun, 24 Mar 2002 16:48:18 -0500


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

Modified Files:
      Tag: Zope-3x-branch
	testViewDefinitions.py 
Log Message:
Added test to verify that a view service implements IViewService.


=== Zope3/lib/python/Zope/ComponentArchitecture/tests/testViewDefinitions.py 1.1.2.1 => 1.1.2.2 ===
             self.failUnless(IC2.extends(d['used_for'], 0), d)
 
+
+    def testInterfaceGrrr(self):
+        from Zope.ComponentArchitecture.IViewService import IViewService
+        from Interface.Verify import verifyObject
+        verifyObject(IViewService, self._Test__new())
+
 class Test(BaseTestViewDefinitions, CleanUp, TestCase):
 
     def _Test__new(self):