aboutsummaryrefslogtreecommitdiff
path: root/test/py
diff options
context:
space:
mode:
authorHeinrich Schuchardt2020-09-14 12:50:54 +0200
committerTom Rini2020-10-14 11:16:34 -0400
commit39916bb45f9e233d6df8ee478c539b100116a34a (patch)
treeb2261b42071505cb7e079697d7a4f4c9d7f92b8c /test/py
parent9ea0a1ee9309054102e61a29e746db672494d385 (diff)
test: sharpen button label unit test
Using different strings for the device tree node labels and the label property of buttons sharpens the button label unit test. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'test/py')
-rw-r--r--test/py/tests/test_button.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/tests/test_button.py b/test/py/tests/test_button.py
index 98067a98f28..eadd9dd6135 100644
--- a/test/py/tests/test_button.py
+++ b/test/py/tests/test_button.py
@@ -11,7 +11,7 @@ def test_button_exit_statuses(u_boot_console):
expected_response = 'rc:0'
response = u_boot_console.run_command('button list; echo rc:$?')
assert(expected_response in response)
- response = u_boot_console.run_command('button summer; echo rc:$?')
+ response = u_boot_console.run_command('button button1; echo rc:$?')
assert(expected_response in response)
expected_response = 'rc:1'