summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/vfs_fat_fileio.py
Commit message (Collapse)AuthorAge
* tests: vfs_fat_fileio.py is too big to be parsed in 16K heap, split in 2.Paul Sokolovsky2017-04-02
| | | | This restores ability to run testsuite with 16K heap.
* tests/extmod/vfs_fat: Update tests to work with new VFS sub-system.Damien George2017-01-27
| | | | The vfs_fat_fsusermount test is no longer relevant so has been removed.
* test/extmod: Update vfs_fat tests for new OO FatFs library.Damien George2017-01-27
| | | | | The new version of FatFs requires a minimum of 50 blocks on the device. Also, some tests no longer make sense with an OO vfs.
* tests/extmod/vfs_fat_fileio: Add test for constructor of FileIO type.Damien George2016-12-02
|
* extmod/vfs_fat: Implement POSIX behaviour of rename, allow to overwrite.Damien George2016-12-02
| | | | | | | | If the destination of os.rename() exists then it will be overwritten if it is a file. This is the POSIX behaviour, which is also the CPython behaviour, and so we follow suit. See issue #2598 for discussion.
* extmod/vfs_fat_file: Make file.close() a no-op if file already closed.Damien George2016-10-24
| | | | | As per CPython semantics. In particular, file.__del__() should not raise an exception if the file is already closed.
* tests/extmod/vfs_fat: Improve VFS test coverage.Alex March2016-10-24
Covered case: - Stat cases - Invalid read/write/flush/close - Invalid mkdir/rmdir/remove/getcwd - File seek/tell, modes a/x/+, t/b - Writing to a full disk - Full path rename, slash trim - Rename cases - Bytestring listdir - File object printing