On 1/6/26 18:59, David Gow wrote:
From: Thomas Weißschuh thomas.weissschuh@linutronix.de
Running the KUnit testsuite through pytest fails, as the function test_data_path() is recognized as a test function. Its execution fails as pytest tries to resolve the 'path' argument as a fixture which does not exist.
Rename the function, so the helper function is not incorrectly recognized as a test function.
Signed-off-by: Thomas Weißschuh thomas.weissschuh@linutronix.de Reviewed-by: David Gow davidgow@google.com Signed-off-by: David Gow davidgow@google.com
Changes since v1: https://lore.kernel.org/linux-kselftest/20251230-kunit-pytest-v1-1-e2dae0dae...
- Rebase on top of "kunit: tool: Add test for nested test result reporting" https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git/co...
Thank you.
Applied to linux kselftest kunit repo for Linux 6.20-rc1
thanks, -- Shuah