[elbe-devel] [PATCH 0/5] Unittest doctests
Olivier Dion
dion at linutronix.de
Mon May 18 16:09:55 CEST 2020
This patch queues add doctest for shellhelper and filesystem modules.
Some tests are missing from filesystem because some methods are so
trivial that I don't think we need to test them (i.e. chmod). Other
methods are difficult to test because they are system dependant
(i.e. disk_usage).
Other tests might be add later on if necessary.
Olivier Dion (5):
tests test_efilesystem: Add copyright
tests test_doctest: Add unittest for doctests
shellhelper: Add doctests
tests doctests: Add filesystem doctests
filesystem: Add dodctests
elbepack/filesystem.py | 172 +++++++++++++++++++++++++++
elbepack/shellhelper.py | 182 ++++++++++++++++++++++++++++-
elbepack/tests/test_doctest.py | 17 +++
elbepack/tests/test_efilesystem.py | 5 +
4 files changed, 373 insertions(+), 3 deletions(-)
create mode 100644 elbepack/tests/test_doctest.py
--
2.26.2
More information about the elbe-devel
mailing list