[Zope3-checkins] CVS: Zope3/src/zope/app/fssync/tests - test_committer.py:1.15
Steve Alexander
steve@cat-box.net
Fri, 6 Jun 2003 15:29:34 -0400
Update of /cvs-repository/Zope3/src/zope/app/fssync/tests
In directory cvs.zope.org:/tmp/cvs-serv7875/src/zope/app/fssync/tests
Modified Files:
test_committer.py
Log Message:
Changed old-style __implements__ to new-style implements()
Also, fixed up some incorrect formatting.
=== Zope3/src/zope/app/fssync/tests/test_committer.py 1.14 => 1.15 ===
--- Zope3/src/zope/app/fssync/tests/test_committer.py:1.14 Thu Jun 5 14:58:46 2003
+++ Zope3/src/zope/app/fssync/tests/test_committer.py Fri Jun 6 15:29:03 2003
@@ -43,14 +43,16 @@
from zope.app.content.fssync import DirectoryAdapter
+from zope.interface import implements
+
class Sample(object):
pass
class PretendContainer(object):
-
- __implements__ = IContainer, ITraversable, IZopeContainer
+
+ implements(IContainer, ITraversable, IZopeContainer)
def __init__(self):
self.holding = {}