[Zope3-checkins] CVS: Zope3/src/zope/server/vfs/tests - test_osfilesystem.py:1.3
Jim Fulton
jim@zope.com
Thu, 30 Jan 2003 10:52:59 -0500
Update of /cvs-repository/Zope3/src/zope/server/vfs/tests
In directory cvs.zope.org:/tmp/cvs-serv17934/tests
Modified Files:
test_osfilesystem.py
Log Message:
Ficed two bugs in the stat computation. The 6th element was missed and
stat tuple was ommitted.
The fix was needed to get the server tests working properly.
=== Zope3/src/zope/server/vfs/tests/test_osfilesystem.py 1.2 => 1.3 ===
--- Zope3/src/zope/server/vfs/tests/test_osfilesystem.py:1.2 Wed Dec 25 09:15:28 2002
+++ Zope3/src/zope/server/vfs/tests/test_osfilesystem.py Thu Jan 30 10:52:57 2003
@@ -96,7 +96,7 @@
def testStat(self):
stat = os.stat(joinToRoot(self.root, self.file_name))
- stat = stat[0:6], fromts(stat[7]), fromts(stat[8]), fromts(stat[9])
+ stat = stat[0:7] + (fromts(stat[7]), fromts(stat[8]), fromts(stat[9]))
self.assertEqual(self.filesystem.stat(self.file_name), stat)