def test_interfaces(self): tool = getattr(self.portal, JSTOOLNAME) self.failUnless(IJSRegistry.providedBy(tool)) self.failUnless(verifyObject(IJSRegistry, tool))
def test_interfaces(self): tool = getattr(self.portal, JSTOOLNAME) self.assertTrue(IJSRegistry.providedBy(tool)) self.assertTrue(verifyObject(IJSRegistry, tool))