mirror-linux/tools/testing
Jakub Kicinski b615879dbf selftests: drv-net: make linters happy with our imports
Linters are still not very happy with our __init__ files,
which was pointed out in recent review (see Link).

We have previously started importing things one by one to
make linters happy with the test files (which import from __init__).
But __init__ file itself still makes linters unhappy.

To clean it up I believe we must completely remove the wildcard
imports, and assign the imported modules to __all__.

hds.py needs to be fixed because it seems to be importing
the Python standard random from lib.net.

We can't use ksft_pr() / ktap_result() in case importing
from net.lib fails. Linters complain that those helpers
themselves may not have been imported.

Link: https://lore.kernel.org/9d215979-6c6d-4e9b-9cdd-39cff595866e@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20251003164748.860042-1-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-10-07 12:12:44 +02:00
..
crypto/chacha20-s390
cxl
fault-injection
ktest
kunit kunit: qemu_configs: Add MIPS configurations 2025-09-15 10:30:07 -06:00
memblock
nvdimm
radix-tree
rbtree
scatterlist
selftests selftests: drv-net: make linters happy with our imports 2025-10-07 12:12:44 +02:00
shared tools/testing: add linux/args.h header and fix radix, VMA tests 2025-08-19 16:35:54 -07:00
vma
vsock vsock/test: Remove redundant semicolons 2025-08-29 19:10:52 -07:00