From ca9f9e3d16e8c84ab3958bf51ea78da09a089ea8 Mon Sep 17 00:00:00 2001 From: Paul Everitt Date: Fri, 18 Jul 2008 14:23:58 +0000 Subject: Using Chris's help, changed signature of interface to support what the XSLT processors expects. Fixed tests to assert that interface. --- repoze/bfg/tests/test_xslt.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'repoze/bfg/tests') diff --git a/repoze/bfg/tests/test_xslt.py b/repoze/bfg/tests/test_xslt.py index 448d49ddc..ebf0e625d 100644 --- a/repoze/bfg/tests/test_xslt.py +++ b/repoze/bfg/tests/test_xslt.py @@ -34,16 +34,16 @@ class XSLTemplateFactoryTests(unittest.TestCase, Base): klass = self._getTargetClass() return klass(*arg, **kw) - def test_instance_conforms_to_IView(self): + def test_instance_conforms_to_INodeView(self): from zope.interface.verify import verifyObject - from repoze.bfg.interfaces import IView + from repoze.bfg.interfaces import INodeView path = self._getTemplatePath('minimal.xsl') - verifyObject(IView, self._makeOne(path)) + verifyObject(INodeView, self._makeOne(path)) - def test_class_conforms_to_IView(self): + def test_class_conforms_to_INodeView(self): from zope.interface.verify import verifyClass - from repoze.bfg.interfaces import IView - verifyClass(IView, self._getTargetClass()) + from repoze.bfg.interfaces import INodeView + verifyClass(INodeView, self._getTargetClass()) def test_class_conforms_to_ITemplateFactory(self): from zope.interface.verify import verifyObject -- cgit v1.2.3