u-boot/test
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
..
boot bootstd: Add support for updating elements of the cmdline 2023-07-17 13:38:35 +08:00
cmd bdinfo: Show the RAM top and approximate stack pointer 2023-07-17 17:12:03 +08:00
common cli: Correct handling of invalid escape sequences in cread_line() 2023-03-28 09:25:51 -04:00
dm dm: test: Add test for part_get_info_by_type 2023-07-17 16:19:47 -04:00
env sandbox: add test of CONFIG_ENV_IMPORT_FDT 2021-05-04 12:52:30 -04:00
fs Use grep -E or plain grep instead of egrep 2023-01-11 15:02:24 -05:00
fuzz dm: treewide: Use uclass_first_device_err when accessing one device 2022-10-17 21:17:12 -06:00
image treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
lib test: improve configuration for Kconfig test options 2023-04-25 15:31:27 -04:00
log log: Remove some places where we redefine LOGLEVEL 2022-12-23 10:07:03 -05:00
optee test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
overlay test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
py test: avoid function name 'setup' 2023-07-20 09:12:50 +02:00
stdint Remove <inttypes.h> includes and PRI* usages in printf() entirely 2018-09-10 20:48:17 -04:00
trace SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bloblist.c bloblist: Add functions to obtain base address and size 2022-01-13 09:13:41 -07:00
bootm.c test: Fix bootm_test_subst_var() running independently 2022-09-12 18:06:36 -04:00
cmd_ut.c test: bdinfo: Add test for command bdinfo 2023-06-20 16:08:13 -04:00
command_ut.c unit-test: cover run_commandf() by test-cases 2023-03-30 15:09:59 -04:00
common.sh Consistently use nproc for counting the CPUs 2020-01-30 13:30:35 -05:00
compression.c test: compression: add zstd uncompression test 2023-01-18 19:41:15 -05:00
Kconfig test: move unit tests into a sub-menu 2023-04-25 15:31:27 -04:00
Makefile test: Add some tests for kconfig.h 2022-08-10 13:38:30 -04:00
nokia_rx51_test.sh CI: Update test/nokia_rx51_test.sh to use prebuilt images 2023-02-24 11:54:44 -05:00
print_ut.c lib: Move string tests to the string module 2022-04-25 10:00:03 -04:00
run test: Run the VPL tests with 'make check' 2023-04-03 06:53:53 +12:00
str_ut.c lib: Add a function to split a string into substrings 2023-01-23 18:11:39 -05:00
test-main.c test: Skip flat-tree tests if devicetree is not used 2023-07-16 23:13:17 +08:00
time_ut.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
unicode_ut.c test: Wrap assert macros in ({ ... }) and fix missing semicolons 2023-03-14 16:08:51 -06:00
ut.c test: Add a way to skip console checking until a string matches 2021-09-16 14:39:40 -04:00