u-boot/test/py/tests/test_efi_capsule
Heinrich Schuchardt 4f399f277c 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: 482ef90aeb ("test: efi_capsule: refactor efi_capsule test")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-20 09:12:50 +02:00
..
capsule_common.py test: avoid function name 'setup' 2023-07-20 09:12:50 +02:00
capsule_defs.py test: fix pydoc issues for EFI tests 2023-05-04 09:57:43 +02:00
conftest.py Xilinx changes for v2023.10-rc1 2023-06-12 16:42:37 -04:00
signature.dts test/py: efi_capsule: add image authentication test 2022-02-11 20:07:55 +01:00
test_capsule_firmware_fit.py test: avoid function name 'setup' 2023-07-20 09:12:50 +02:00
test_capsule_firmware_raw.py test: avoid function name 'setup' 2023-07-20 09:12:50 +02:00
test_capsule_firmware_signed_fit.py test: avoid function name 'setup' 2023-07-20 09:12:50 +02:00
test_capsule_firmware_signed_raw.py test: avoid function name 'setup' 2023-07-20 09:12:50 +02:00
uboot_bin_env.its efi_loader: correct uboot_bin_env.its file format 2021-03-07 17:37:26 +01:00
version.dts test/py: efi_capsule: test for FMP versioning 2023-06-08 09:20:36 +02:00