summaryrefslogtreecommitdiff
path: root/doc/develop/pytest
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-05-07 16:08:19 -0600
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2025-05-11 12:52:56 +0200
commit8f8f0f0ed9d0f9d4ac385da735cef1eedd891499 (patch)
tree6e2ec863815b49736316943e36df85fea639e207 /doc/develop/pytest
parenta865d1d25410af97376fd3c822bac560b99fd84b (diff)
doc: pytest: Document the test_net_boot test
Add the test_net_boot.py test to the generated documentation. While most of this was already commented correctly for inclusion the biggest problem was examples of code without a code-block notation. This in turn broke parsing. Add the missing notations. We also must have the comment prior to any import lines or it will not be seen as a comment on the overall file and thus not included. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/develop/pytest')
-rw-r--r--doc/develop/pytest/index.rst1
-rw-r--r--doc/develop/pytest/test_net_boot.rst8
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/develop/pytest/index.rst b/doc/develop/pytest/index.rst
index ca45e157d3b..36083882584 100644
--- a/doc/develop/pytest/index.rst
+++ b/doc/develop/pytest/index.rst
@@ -18,3 +18,4 @@ Individual tests
:maxdepth: 1
test_000_version
+ test_net_boot
diff --git a/doc/develop/pytest/test_net_boot.rst b/doc/develop/pytest/test_net_boot.rst
new file mode 100644
index 00000000000..369bd3b809c
--- /dev/null
+++ b/doc/develop/pytest/test_net_boot.rst
@@ -0,0 +1,8 @@
+test_net_boot
+=============
+
+.. automodule:: test_net_boot
+ :synopsis:
+ :member-order: bysource
+ :members:
+ :undoc-members: