diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-07-15 10:48:39 +0200 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-07-20 09:12:50 +0200 |
commit | 4f399f277cd0116944642ea7246795678fcb495f (patch) | |
tree | 673221448d411ac927c92ae798250782e9f5f883 /arch/sandbox/include/asm/sdl.h | |
parent | 06fc19ca4de943827f5aa026f7aa9c3a05411677 (diff) |
test: avoid function name 'setup'
pytest 7.3.2 treats the function name 'setup' as a fixture [1].
This leads to errors like:
TypeError: setup() missing 2 required positional arguments:
'disk_img' and 'osindications'
Rename setup() to capsule_setup().
[1] How to run tests written for nose
https://docs.pytest.org/en/7.3.x/how-to/nose.html
Fixes: 482ef90aeb4c ("test: efi_capsule: refactor efi_capsule test")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/include/asm/sdl.h')
0 files changed, 0 insertions, 0 deletions