[Zope3-checkins] CVS: Zope3/src/zope/app/ftp/tests - test_ftpview.py:1.1.24.1

Grégoire Weber zope@i-con.ch
Sun, 22 Jun 2003 10:24:06 -0400


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

Modified Files:
      Tag: cw-mail-branch
	test_ftpview.py 
Log Message:
Synced up with HEAD

=== Zope3/src/zope/app/ftp/tests/test_ftpview.py 1.1 => 1.1.24.1 ===
--- Zope3/src/zope/app/ftp/tests/test_ftpview.py:1.1	Mon Feb  3 10:08:37 2003
+++ Zope3/src/zope/app/ftp/tests/test_ftpview.py	Sun Jun 22 10:23:05 2003
@@ -29,13 +29,12 @@
 from zope.app.interfaces.container import IZopeWriteContainer
 from zope.app.ftp import FTPView
 from zope.app.tests.placelesssetup import PlacelessSetup
+from zope.interface import implements
 
 class Directory(demofs.Directory):
 
-    __implements__ = (IReadDirectory, IWriteDirectory,
-                      IFileFactory, IDirectoryFactory,
-                      IZopeWriteContainer, IZopeDublinCore,
-                      )
+    implements(IReadDirectory, IWriteDirectory, IFileFactory,
+               IDirectoryFactory, IZopeWriteContainer, IZopeDublinCore)
 
     modified = datetime.datetime(1990, 1,1)
 
@@ -56,8 +55,8 @@
         del self[old]
 
 class File(demofs.File):
-    
-    __implements__ = IReadFile, IWriteFile, IZopeDublinCore
+
+    implements(IReadFile, IWriteFile, IZopeDublinCore)
 
     modified = datetime.datetime(1990, 1,2)
 
@@ -180,7 +179,7 @@
             'group_name': 'na', 'group_readable': 1, 'group_writable': 1,
             'other_readable': 0, 'other_writable': 0,
             })
-        
+
     def test_mtime(self):
         self.assertEqual(self.__view.mtime('test'), Directory.modified)
         self.assertEqual(self.__view.mtime('f'), File.modified)