Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | tests: Use vfs module instead of os. | Damien George | 2024-02-07 |
| | | | | Signed-off-by: Damien George <damien@micropython.org> | ||
* | tests: Replace umodule with module everywhere. | Jim Mussared | 2023-06-08 |
| | | | | | | This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com> | ||
* | tests/extmod: Skip vfs tests if target doesn't have enough memory. | Damien George | 2023-02-09 |
| | | | | Signed-off-by: Damien George <damien@micropython.org> | ||
* | top: Update Python formatting to black "2023 stable style". | Jim Mussared | 2023-02-02 |
| | | | | | | See https://black.readthedocs.io/en/stable/the_black_code_style/index.html Signed-off-by: Jim Mussared <jim.mussared@gmail.com> | ||
* | tests: Use .errno instead of .args[0] for OSError exceptions. | Damien George | 2021-04-23 |
| | | | | Signed-off-by: Damien George <damien@micropython.org> | ||
* | tests/extmod: Add tests for verifying FAT and littlefs mtime values. | Damien George | 2020-09-02 |
| | | | | | | | | | Verifies mtime timestamps on files match the value returned by time.time(). Also update vfs_fat_ramdisk.py so it doesn't check FAT timestamp of the root, because that may change across runs/ports. Signed-off-by: Damien George <damien@micropython.org> | ||
* | tests: Format all Python code with black, except tests in basics subdir. | David Lechner | 2020-03-30 |
| | | | | | | | | | | This adds the Python files in the tests/ directory to be formatted with ./tools/codeformat.py. The basics/ subdirectory is excluded for now so we aren't changing too much at once. In a few places `# fmt: off`/`# fmt: on` was used where the code had special formatting for readability or where the test was actually testing the specific formatting. | ||
* | extmod/vfs: Rename BP_IOCTL_xxx constants to MP_BLOCKDEV_IOCTL_xxx. | Damien George | 2019-10-29 |
| | | | | Also rename SEC_COUNT to BLOCK_COUNT and SEC_SIZE to BLOCK_SIZE. | ||
* | tests/extmod: Remove conditional import of uos_vfs, it no longer exists. | Damien George | 2018-06-06 |
| | | | | | | This conditional import was only used to get the tests working on the unix coverage build, which has now switched to use VFS by default so the uos module alone has the required functionality. | ||
* | tests: Convert remaining "sys.exit()" to "raise SystemExit". | Paul Sokolovsky | 2017-06-10 |
| | |||
* | tests/extmod/vfs_fat: Add test for ilistdir of a non-existent directory. | Damien George | 2017-05-13 |
| | |||
* | tests/extmod/vfs: Update tests to reflect new ilistdir() method. | Damien George | 2017-05-10 |
| | |||
* | tests/extmod: Make tests skippable. | Paul Sokolovsky | 2017-02-15 |
| | |||
* | tests/extmod/vfs_fat_ramdisk: Make it work on pyboard. | Damien George | 2017-01-27 |
| | |||
* | tests/extmod/vfs_fat: Update tests to work with new VFS sub-system. | Damien George | 2017-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 George | 2017-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: Improve VFS test coverage. | Alex March | 2016-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 | ||
* | tests/extmod/vfs_fat: Replace asserts with prints and expected outputs. | Alex March | 2016-10-13 |
| | |||
* | tests/extmod/vfs_fat: Test coverage for remove() and rmdir(). | Alex March | 2016-10-11 |
| | |||
* | tests/extmod/vfs_fat_ramdisk: Add test for VFS.statvfs(). | Alex March | 2016-09-27 |
| | |||
* | tests/extmod/vfs_fat_ramdisk: Add tests for VFS.umount() | Radomir Dopieralski | 2016-08-26 |
| | | | | Try to un-mount a file system and re-mount it again. | ||
* | tests/extmod/vfs_fat_ramdisk: Add testcases for chdir(), getcwd(). | Paul Sokolovsky | 2016-05-29 |
| | |||
* | tests/vfs_fat_ramdisk: Add testcase for .rename(). | Paul Sokolovsky | 2016-02-29 |
| | |||
* | tests/vfs_fat_ramdisk: Allow to run in native mode (don't use "with"). | Paul Sokolovsky | 2016-02-29 |
| | |||
* | tests/vfs_fat_ramdisk: Add testcase for .mkdir(). | Paul Sokolovsky | 2016-02-29 |
| | |||
* | tests/vfs_fat_ramdisk: Add testcase for .remove(). | Paul Sokolovsky | 2016-02-28 |
| | |||
* | tests/vfs_fat_ramdisk: Add .listdir() testcase. | Paul Sokolovsky | 2016-02-28 |
| | |||
* | tests/vfs_fat_ramdisk: Skip test if can't allocate ramdisk. | Paul Sokolovsky | 2016-02-15 |
| | |||
* | tests/vfs_fat_ramdisk: Allow to override sector size. | Paul Sokolovsky | 2016-02-14 |
| | |||
* | tests/vfs_fat_ramdisk: Switch to ioctl-based blockdev API. | Paul Sokolovsky | 2016-02-14 |
| | |||
* | tests/vfs_fat_ramdisk: Add test for VfsFat. | Paul Sokolovsky | 2016-02-14 |