summaryrefslogtreecommitdiff
path: root/test/py
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-04-03 13:40:47 +0200
committerTom Rini <trini@konsulko.com>2024-04-12 08:53:31 -0600
commit51b2f4f085593d36a82c1a2b5916751584490544 (patch)
tree775a42acef77a5b3d0630815fb6b80b44873d494 /test/py
parent9b6d415eeaa244ab0f8c500b88d421fd3aab7641 (diff)
downloadu-boot-51b2f4f085593d36a82c1a2b5916751584490544.tar.gz
u-boot-51b2f4f085593d36a82c1a2b5916751584490544.tar.bz2
u-boot-51b2f4f085593d36a82c1a2b5916751584490544.zip
disk: simplify print_part_header()
Using uclass_get_name() reduces the code size. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'test/py')
-rw-r--r--test/py/tests/test_scsi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/tests/test_scsi.py b/test/py/tests/test_scsi.py
index be2e283e7d..445693cafd 100644
--- a/test/py/tests/test_scsi.py
+++ b/test/py/tests/test_scsi.py
@@ -87,6 +87,6 @@ def test_scsi_dev(u_boot_console):
def test_scsi_part(u_boot_console):
test_scsi_dev(u_boot_console)
output = u_boot_console.run_command('scsi part')
- assert 'Partition Map for SCSI device' in output
+ assert 'Partition Map for scsi device' in output
output = u_boot_console.run_command('echo $?')
assert output.endswith('0')