[Zope3-checkins] CVS: Zope3/src/zope/app/renderer/tests - test_vocabulary.py:1.4

Jim Fulton jim at zope.com
Fri Mar 5 17:09:48 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/renderer/tests
In directory cvs.zope.org:/tmp/cvs-serv15449/src/zope/app/renderer/tests

Modified Files:
	test_vocabulary.py 
Log Message:
Renamed interface methods:

isImplementedByInstancesOf to implementedBy
  isImplementedBy            to providedBy


=== Zope3/src/zope/app/renderer/tests/test_vocabulary.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/renderer/tests/test_vocabulary.py:1.3	Tue Mar  2 09:24:45 2004
+++ Zope3/src/zope/app/renderer/tests/test_vocabulary.py	Fri Mar  5 17:09:15 2004
@@ -45,7 +45,7 @@
         self.term = SourceTypeTerm('zope.Foo', FactoryInfo('Foo', 'Foo Source'))
 
     def test_Interface(self):
-        self.failUnless(ITokenizedTerm.isImplementedBy(self.term))
+        self.failUnless(ITokenizedTerm.providedBy(self.term))
 
     def test_token(self):
         self.assertEqual(self.term.token, 'zope.Foo')
@@ -68,8 +68,8 @@
         self.vocab = SourceTypeVocabulary(None)
 
     def test_Interface(self):
-        self.failUnless(IVocabulary.isImplementedBy(self.vocab))
-        self.failUnless(IVocabularyTokenized.isImplementedBy(self.vocab))
+        self.failUnless(IVocabulary.providedBy(self.vocab))
+        self.failUnless(IVocabularyTokenized.providedBy(self.vocab))
 
     def test_contains(self):
         self.assertEqual(self.vocab.__contains__('zope.source.Foo'), True)




More information about the Zope3-Checkins mailing list