[Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/VFS/tests - testOSFileSystem.py:1.1.2.8

Stephan Richter srichter@cbu.edu
Thu, 11 Apr 2002 00:32:14 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Server/VFS/tests
In directory cvs.zope.org:/tmp/cvs-serv25892/lib/python/Zope/Server/VFS/tests

Modified Files:
      Tag: Zope3-Server-Branch
	testOSFileSystem.py 
Log Message:
Wee, quiet a bit of changes, but they fix and finnish the stuff Shane did
earlier today.

- Removed a lot of old files and moved some to more appropriate places. The 
  removal of the Suthentication directory is probably the biggest one. I
  also deleted all the other FileSystem types, like MSDOS and Unix, since 
  the FielSystem is not returning formatted lists anymore. Yipee!

- Fixed PublisherFTPServer, so it works with Shane's new Credentials 
  interfaces. Everything should be working fine again.

- Fixed the POP3 and SMTP code to work with the new model. It all works 
  really well. I hope that Gerson Kurz will take over this development 
  soon. I also contacted authors of other server protocols, and they might
  join. Rich Salz is already writing a method for ZSI, so that we can 
  insert SOAP in the next days.

- Made most tests run again and updated them. I still have one error. I know
  why it is caused, but I do not know how to correct. I know it is a test 
  environment problem though, not a code one.



=== Zope3/lib/python/Zope/Server/VFS/tests/testOSFileSystem.py 1.1.2.7 => 1.1.2.8 ===
         open(path, 'w').write('test')
         self.assertEqual(self.filesystem.listdir('/', 0),
-                         'foo\r\n')
-        os.remove(path)
-
-
-    def testLongify(self):
-        path = os.path.join(self.root, 'foo')
-        open(path, 'w').write('test')
-        stat_info = os.stat(path)
-        result = self.filesystem.longify('foo', stat_info)
-        self.failUnless(result.endswith('foo'))
+                         ['foo'])
         os.remove(path)