[Zope3-checkins] CVS: Zope3/src/zope/app/wiki/tests - test_comments.py:1.2 test_wiki.py:1.2 test_wikimail.py:1.3 test_wikipage.py:1.3 test_wikipagehierarchy.py:1.3

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


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

Modified Files:
	test_comments.py test_wiki.py test_wikimail.py 
	test_wikipage.py test_wikipagehierarchy.py 
Log Message:
Renamed interface methods:

isImplementedByInstancesOf to implementedBy
  isImplementedBy            to providedBy


=== Zope3/src/zope/app/wiki/tests/test_comments.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/wiki/tests/test_comments.py:1.1	Tue Mar  2 09:25:03 2004
+++ Zope3/src/zope/app/wiki/tests/test_comments.py	Fri Mar  5 17:09:22 2004
@@ -26,7 +26,7 @@
         self.comment = Comment()
 
     def test_Interface(self):
-        self.failUnless(IComment.isImplementedBy(self.comment))
+        self.failUnless(IComment.providedBy(self.comment))
 
     def test_source(self):
         self.assertEqual('', self.comment.source)


=== Zope3/src/zope/app/wiki/tests/test_wiki.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/wiki/tests/test_wiki.py:1.1	Fri Feb 27 06:07:01 2004
+++ Zope3/src/zope/app/wiki/tests/test_wiki.py	Fri Mar  5 17:09:22 2004
@@ -32,7 +32,7 @@
         return DefaultTestData()
 
     def test_interface(self):
-        self.assert_(IWiki.isImplementedBy(self.makeTestObject()))
+        self.assert_(IWiki.providedBy(self.makeTestObject()))
 
     def getUnknownKey(self):
         return '10'


=== Zope3/src/zope/app/wiki/tests/test_wikimail.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/wiki/tests/test_wikimail.py:1.2	Tue Mar  2 13:51:06 2004
+++ Zope3/src/zope/app/wiki/tests/test_wikimail.py	Fri Mar  5 17:09:22 2004
@@ -49,7 +49,7 @@
         self._sub = MailSubscriptions(self.getTestObject())
 
     def test_Interface(self):
-        self.failUnless(IMailSubscriptions.isImplementedBy(self._sub))
+        self.failUnless(IMailSubscriptions.providedBy(self._sub))
 
     def test_getSubscriptions(self):
         self.assertEqual((), self._sub.getSubscriptions())
@@ -115,7 +115,7 @@
                        AttributeAnnotations)
 
     def test_Interface(self):
-        self.failUnless(ISubscriber.isImplementedBy(mailer))
+        self.failUnless(ISubscriber.providedBy(mailer))
 
     def test_getAllSubscribers(self):
         wiki = Wiki()


=== Zope3/src/zope/app/wiki/tests/test_wikipage.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/wiki/tests/test_wikipage.py:1.2	Tue Mar  2 09:25:03 2004
+++ Zope3/src/zope/app/wiki/tests/test_wikipage.py	Fri Mar  5 17:09:22 2004
@@ -27,7 +27,7 @@
 
     def test_Interface(self):
         page = self.makeTestObject()
-        self.failUnless(IWikiPage.isImplementedBy(page))
+        self.failUnless(IWikiPage.providedBy(page))
 
     def test_source(self):
         page = self.makeTestObject()


=== Zope3/src/zope/app/wiki/tests/test_wikipagehierarchy.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/wiki/tests/test_wikipagehierarchy.py:1.2	Tue Mar  2 12:51:54 2004
+++ Zope3/src/zope/app/wiki/tests/test_wikipagehierarchy.py	Fri Mar  5 17:09:22 2004
@@ -55,7 +55,7 @@
 
     def test_Interface(self):
         hier = self.makeTestObject()
-        self.failUnless(IWikiPageHierarchy.isImplementedBy(hier))
+        self.failUnless(IWikiPageHierarchy.providedBy(hier))
 
     def test_parents(self):
         hier = self.makeTestObject()




More information about the Zope3-Checkins mailing list