doc: pytest: Document the test_bootstage test

Add this test to the documentation. We need to move the import to follow
the main comment so that it renders correctly, and add a code-block
annotation to the example and indent it correctly. Next, neither of the
functions had comments themselves, so document them now.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Tom Rini
2025-05-11 12:52:56 +02:00
committed by Heinrich Schuchardt
parent 45d325ba09
commit 58b2f0895b
3 changed files with 37 additions and 7 deletions
+1
View File
@@ -18,5 +18,6 @@ Individual tests
:maxdepth: 1
test_000_version
test_bootstage
test_net
test_net_boot
+8
View File
@@ -0,0 +1,8 @@
test_bootstage
==============
.. automodule:: test_bootstage
:synopsis:
:member-order: bysource
:members:
:undoc-members: