test/py: Drop assigning ubman to cons

Now that we have a shorter name, we don't need this sort of thing. Just
use ubman instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-02-09 09:07:17 -07:00
parent dd693ecb60
commit d08653d369
27 changed files with 436 additions and 468 deletions

View File

@@ -11,9 +11,8 @@ import utils
@pytest.mark.boardspec('sandbox')
def test_event_dump(ubman):
"""Test that the "help" command can be executed."""
cons = ubman
sandbox = cons.config.build_dir + '/u-boot'
out = utils.run_and_log(cons, ['scripts/event_dump.py', sandbox])
sandbox = ubman.config.build_dir + '/u-boot'
out = utils.run_and_log(ubman, ['scripts/event_dump.py', sandbox])
expect = '''.*Event type Id Source location
-------------------- ------------------------------ ------------------------------
EVT_FT_FIXUP bootmeth_vbe_ft_fixup .*boot/vbe_request.c:.*