doc: pytest: Document the test_button test
authorTom Rini <trini@konsulko.com>
Thu, 8 May 2025 21:34:45 +0000 (15:34 -0600)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 11 May 2025 10:52:57 +0000 (12:52 +0200)
Add this test to the documentation. No changes to the test itself were
required.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
doc/develop/pytest/index.rst
doc/develop/pytest/test_button.rst [new file with mode: 0644]
test/py/tests/test_button.py

index 4d949cf..0a7c1b2 100644 (file)
@@ -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 (file)
index 0000000..4e5a29f
--- /dev/null
@@ -0,0 +1,8 @@
+test_button
+===========
+
+.. automodule:: test_button
+   :synopsis:
+   :member-order: bysource
+   :members:
+   :undoc-members:
index f0d85be..f3f6816 100644 (file)
@@ -1,5 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0+
 
+"""Tests for the button command"""
+
 import pytest
 
 @pytest.mark.boardspec('sandbox')