mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
python unittest find subdirs
This commit is contained in:
@@ -20903,6 +20903,15 @@ Examples:
|
||||
** link:rootfs_overlay/lkmc/python/count.py[]: count once every second
|
||||
** link:rootfs_overlay/lkmc/python/iter_method.py[]: how to implement `__iter__` on a class
|
||||
|
||||
===== Python standard library
|
||||
|
||||
====== Python unittest
|
||||
|
||||
link:rootfs_overlay/lkmc/python/unittest_find/[] contains examples to test how tests are found by `unittest` within directories. Related questions:
|
||||
|
||||
* https://stackoverflow.com/questions/1732438/how-do-i-run-all-python-unit-tests-in-a-directory
|
||||
* https://stackoverflow.com/questions/46976256/recursive-unittest-discovery-with-python3-and-without-init-py-files
|
||||
|
||||
===== Build and install the interpreter
|
||||
|
||||
Buildroot has a Python package that can be added to the guest image:
|
||||
|
||||
Reference in New Issue
Block a user