From: Tom Rini Date: Thu, 8 May 2025 21:34:45 +0000 (-0600) Subject: doc: pytest: Document the test_button test X-Git-Tag: v2025.07-rc2~3^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02e5d344a0d75a4f05682b3438354748dc83d941;p=pandora-u-boot.git doc: pytest: Document the test_button test Add this test to the documentation. No changes to the test itself were required. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- diff --git a/doc/develop/pytest/index.rst b/doc/develop/pytest/index.rst index 4d949cfd1d2..0a7c1b21a24 100644 --- a/doc/develop/pytest/index.rst +++ b/doc/develop/pytest/index.rst @@ -21,6 +21,7 @@ Individual tests test_bind test_bootmenu test_bootstage + test_button test_efi_loader test_net test_net_boot diff --git a/doc/develop/pytest/test_button.rst b/doc/develop/pytest/test_button.rst new file mode 100644 index 00000000000..4e5a29f20a7 --- /dev/null +++ b/doc/develop/pytest/test_button.rst @@ -0,0 +1,8 @@ +test_button +=========== + +.. automodule:: test_button + :synopsis: + :member-order: bysource + :members: + :undoc-members: diff --git a/test/py/tests/test_button.py b/test/py/tests/test_button.py index f0d85be896d..f3f68169e14 100644 --- a/test/py/tests/test_button.py +++ b/test/py/tests/test_button.py @@ -1,5 +1,7 @@ # SPDX-License-Identifier: GPL-2.0+ +"""Tests for the button command""" + import pytest @pytest.mark.boardspec('sandbox')