diff options
author | Simon Glass <sjg@chromium.org> | 2025-02-09 09:07:17 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2025-03-15 11:47:04 +0000 |
commit | d08653d3699c1aafada3418c9f74b887bfb21a65 (patch) | |
tree | ba6b67765d7364bfbefe029ee14273ee899e767a /test/py/tests/test_spl.py | |
parent | dd693ecb60384049dd8c3f6a36331c1a70b6558f (diff) |
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>
Diffstat (limited to 'test/py/tests/test_spl.py')
-rw-r--r-- | test/py/tests/test_spl.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/py/tests/test_spl.py b/test/py/tests/test_spl.py index 6b226c256b7..48407399039 100644 --- a/test/py/tests/test_spl.py +++ b/test/py/tests/test_spl.py @@ -33,9 +33,8 @@ def test_spl(ubman, ut_spl_subtest): ut_subtest (str): SPL test to be executed (e.g. 'dm platdata_phandle') """ try: - cons = ubman - cons.restart_uboot_with_flags(['-u', '-k', ut_spl_subtest.split()[1]]) - output = cons.get_spawn_output().replace('\r', '') + ubman.restart_uboot_with_flags(['-u', '-k', ut_spl_subtest.split()[1]]) + output = ubman.get_spawn_output().replace('\r', '') assert 'failures: 0' in output finally: # Restart afterward in case a non-SPL test is run next. This should not |