kmonsoor / pyfilesystem

Automatically exported from code.google.com/p/pyfilesystem
0 stars 0 forks source link

WrapFS unit tests fail #121

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Latest code from SVN, installed pip, nose and six
2. nosetests fs.tests.test_wrapfs

What is the expected output? What do you see instead?
45 of the tests fail with e.g.

======================================================================
ERROR: test_writefile (fs.tests.test_wrapfs.TestLimitSizeFS)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/builds/svn/pyfilesystem/fs/tests/test_wrapfs.py", line 64, in tearDown
    self.fs.removedir("/",force=True)
  File "/home/builds/svn/pyfilesystem/fs/wrapfs/limitsizefs.py", line 207, in removedir
    super(LimitSizeFS,self).removedir(path,recursive=recursive)
  File "/home/builds/svn/pyfilesystem/fs/wrapfs/__init__.py", line 34, in wrapper
    return func(self,*args,**kwds)
  File "/home/builds/svn/pyfilesystem/fs/wrapfs/__init__.py", line 357, in removedir
    return self.wrapped_fs.removedir(self._encode(path),*args,**kwds)
  File "/home/builds/svn/pyfilesystem/fs/wrapfs/__init__.py", line 34, in wrapper
    return func(self,*args,**kwds)
  File "/home/builds/svn/pyfilesystem/fs/wrapfs/__init__.py", line 357, in removedir
    return self.wrapped_fs.removedir(self._encode(path),*args,**kwds)
  File "/home/builds/svn/pyfilesystem/fs/errors.py", line 238, in wrapper
    return func(self,*args,**kwds)
  File "/home/builds/svn/pyfilesystem/fs/osfs/__init__.py", line 293, in removedir
    raise RemoveRootError(path)
RemoveRootError: Can't remove root dir

Original issue reported on code.google.com by gc...@loowis.durge.org on 11 Aug 2012 at 7:52

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r799.

Original comment by gc...@loowis.durge.org on 11 Aug 2012 at 8:02