On 1/6/26 18:59, David Gow wrote:
From: Thomas Weißschuh <[email protected]>

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 <[email protected]>
Reviewed-by: David Gow <[email protected]>
Signed-off-by: David Gow <[email protected]>
---

Changes since v1:
https://lore.kernel.org/linux-kselftest/[email protected]/
  - 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/commit/?h=kunit&id=0c5b86c67fb6898d02c8f92de884186297fd302f


Thank you.

Applied to linux kselftest kunit repo for Linux 6.20-rc1

thanks,
-- Shuah

Reply via email to