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: 482ef90aeb4c ("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
..
2022-12-31 13:35:19 -05:00
2020-10-14 11:16:34 -04:00
2023-02-23 13:29:20 -05:00
2022-10-31 11:04:00 -04:00
2022-05-02 09:58:13 -04:00
2022-03-02 10:28:12 -05:00