summaryrefslogtreecommitdiff
path: root/fs/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixes, including hang bug in readlinewillmcgugan@gmail.com2014-10-161-0/+7
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@899 67cdc799-7952-0410-af00-57a81ceafa0f
* Test fixes and preparations for 0.5.0 releasewillmcgugan@gmail.com2014-03-131-2/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@887 67cdc799-7952-0410-af00-57a81ceafa0f
* Test fixeswillmcgugan@gmail.com2014-02-261-3/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@884 67cdc799-7952-0410-af00-57a81ceafa0f
* Tests for getinfokeyswillmcgugan@gmail.com2013-10-181-2/+17
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@882 67cdc799-7952-0410-af00-57a81ceafa0f
* Allow unicode conversion for errors containing non-ascii strings. willmcgugan@gmail.com2013-09-101-0/+6
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@877 67cdc799-7952-0410-af00-57a81ceafa0f
* createfile fixeswillmcgugan@gmail.com2013-09-101-0/+3
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@876 67cdc799-7952-0410-af00-57a81ceafa0f
* Changed signature for 'createfile' everywhere, fixes #133willmcgugan@gmail.com2013-09-091-2/+14
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@875 67cdc799-7952-0410-af00-57a81ceafa0f
* Fix for setcontents with empty stringwillmcgugan@gmail.com2013-09-091-0/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@874 67cdc799-7952-0410-af00-57a81ceafa0f
* Added option to folllow symlinks to ftpfs, patch from Andrewwillmcgugan@gmail.com2013-09-091-14/+16
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@873 67cdc799-7952-0410-af00-57a81ceafa0f
* Added test for read(0) (should return empty string)willmcgugan@gmail.com2013-09-091-0/+8
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@868 67cdc799-7952-0410-af00-57a81ceafa0f
* mountfs testswillmcgugan@gmail.com2013-09-091-0/+8
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@867 67cdc799-7952-0410-af00-57a81ceafa0f
* Added 'relativefrom' method to path.pywillmcgugan@gmail.com2013-06-281-0/+15
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@857 67cdc799-7952-0410-af00-57a81ceafa0f
* Change of api (fs.open, fs.setcontent, fs.getcontents) to support io module ↵willmcgugan@gmail.com2013-03-319-258/+393
| | | | | | in Py2.6+ and Py3 git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@854 67cdc799-7952-0410-af00-57a81ceafa0f
* unicode test filewillmcgugan@gmail.com2013-03-251-0/+212
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@853 67cdc799-7952-0410-af00-57a81ceafa0f
* r844 modified test_archivefs.py to not run the TestReadArchiveFS tests if ↵gcode@loowis.durge.org2013-03-181-0/+6
| | | | | | libarchve isn't available. This commit "completes" that change by adding the same test-skipping to TestWriteArchiveFS too. git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@850 67cdc799-7952-0410-af00-57a81ceafa0f
* Tests for mountfilewillmcgugan@gmail.com2013-03-171-4/+46
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@849 67cdc799-7952-0410-af00-57a81ceafa0f
* Fix for xmlrpcwillmcgugan@gmail.com2013-02-103-104/+112
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@844 67cdc799-7952-0410-af00-57a81ceafa0f
* Change the way TempFS's _meta dict gets built so that it 'inherits' default ↵gcode@loowis.durge.org2012-12-231-0/+7
| | | | | | values from OSFS's _meta (eliminates duplicate code) git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@843 67cdc799-7952-0410-af00-57a81ceafa0f
* Made normpath('/.') and normpath('/..') behave more consistentlygcode@loowis.durge.org2012-12-221-0/+3
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@841 67cdc799-7952-0410-af00-57a81ceafa0f
* Change test_invalid_chars to call the base version first (eliminates ↵gcode@loowis.durge.org2012-12-211-5/+1
| | | | | | duplicate code) git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@840 67cdc799-7952-0410-af00-57a81ceafa0f
* Implemented generic validatepath method and optimized normpathwillmcgugan@gmail.com2012-12-013-22/+49
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@837 67cdc799-7952-0410-af00-57a81ceafa0f
* Fix for mountfs testswillmcgugan2012-11-281-2/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@834 67cdc799-7952-0410-af00-57a81ceafa0f
* InvalidCharsInPathErrorwillmcgugan@gmail.com2012-11-241-5/+8
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@830 67cdc799-7952-0410-af00-57a81ceafa0f
* Fixes for backslashes on Linux issue, see Issue #139willmcgugan@gmail.com2012-11-241-7/+7
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@829 67cdc799-7952-0410-af00-57a81ceafa0f
* Prevent MemoryFS.removedir(..., recursive=True) removing non-empty parent ↵gcode@loowis.durge.org2012-10-261-0/+1
| | | | | | | | directories, and fixed up corresponding unit test. Fixes Issue 137 git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@825 67cdc799-7952-0410-af00-57a81ceafa0f
* No need to save original_setcontents in fakeOn - it's already done in setUp.gcode@loowis.durge.org2012-08-141-1/+0
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@807 67cdc799-7952-0410-af00-57a81ceafa0f
* Re-enable the SFTP nosetests. Seems like the latest version of paramiko nogcode@loowis.durge.org2012-08-131-1/+0
| | | | | | | | | longer has the problems we were encountering before. Also required a quick fix to SFTPFS.removeddir(..., recursive=True) git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@806 67cdc799-7952-0410-af00-57a81ceafa0f
* Whole bunch of Python3 str->bytes fixesgcode@loowis.durge.org2012-08-134-33/+39
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@804 67cdc799-7952-0410-af00-57a81ceafa0f
* Rename test classes from *ZipFS to *ArchiveFSgcode@loowis.durge.org2012-08-111-5/+5
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@800 67cdc799-7952-0410-af00-57a81ceafa0f
* Stop WrapFS unit tests throwing a RemoveRootError. Fixes Issue 121gcode@loowis.durge.org2012-08-111-1/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@799 67cdc799-7952-0410-af00-57a81ceafa0f
* Added regression test for zip file open bugwillmcgugan2012-01-301-0/+43
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@757 67cdc799-7952-0410-af00-57a81ceafa0f
* opener fix and testswillmcgugan2012-01-261-0/+32
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@751 67cdc799-7952-0410-af00-57a81ceafa0f
* archive fswillmcgugan2012-01-201-0/+184
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@743 67cdc799-7952-0410-af00-57a81ceafa0f
* Added sqlitefs to fs.contribwillmcgugan2012-01-162-1/+18
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@741 67cdc799-7952-0410-af00-57a81ceafa0f
* Added a remove_all function to utilswillmcgugan2012-01-121-12/+19
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@738 67cdc799-7952-0410-af00-57a81ceafa0f
* Changed DeleteRootError to RemoveRootError for consistencywillmcgugan2012-01-111-1/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@737 67cdc799-7952-0410-af00-57a81ceafa0f
* Fixed copydir/movedir, added DeleteRootErrorwillmcgugan2012-01-113-1/+110
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@736 67cdc799-7952-0410-af00-57a81ceafa0f
* Added tests for multifs prioritywillmcgugan2012-01-053-6/+55
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@733 67cdc799-7952-0410-af00-57a81ceafa0f
* Python3 changeswillmcgugan2011-12-272-42/+44
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@726 67cdc799-7952-0410-af00-57a81ceafa0f
* Python3 compatibilitywillmcgugan2011-12-275-48/+52
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@725 67cdc799-7952-0410-af00-57a81ceafa0f
* First stab at a Python3 portwillmcgugan2011-12-267-178/+217
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@724 67cdc799-7952-0410-af00-57a81ceafa0f
* Fixes and documentationwillmcgugan2011-08-072-16/+44
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@718 67cdc799-7952-0410-af00-57a81ceafa0f
* Unit tests fixup - CREATED is somethimes the second event rather than the firstgcode@loowis.durge.org2011-06-061-5/+7
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@713 67cdc799-7952-0410-af00-57a81ceafa0f
* fix warning in importhook testsrfkelly02011-05-061-0/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@702 67cdc799-7952-0410-af00-57a81ceafa0f
* fix gc-related errors in RemoteFileBuffer testsrfkelly02011-05-051-0/+8
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@701 67cdc799-7952-0410-af00-57a81ceafa0f
* implemented auto closing for multi/mount fswillmcgugan2011-04-302-0/+64
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@700 67cdc799-7952-0410-af00-57a81ceafa0f
* make LimitSizeFS more robustrfkelly02011-03-301-1/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@684 67cdc799-7952-0410-af00-57a81ceafa0f
* Added docstringwillmcgugan2011-03-241-1/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@678 67cdc799-7952-0410-af00-57a81ceafa0f
* Added note to test docstring about the minimum capacity of filesystem requiredwillmcgugan2011-03-241-0/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@677 67cdc799-7952-0410-af00-57a81ceafa0f
* add testcase for writing past the end of a filerfkelly02011-03-191-0/+9
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@672 67cdc799-7952-0410-af00-57a81ceafa0f