test: Update misc/operational_all for test specification

This commit is contained in:
Mattias Walström
2024-10-04 11:22:58 +02:00
parent 69ba9110fc
commit 883123ecdd
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -15,8 +15,8 @@ image::topology.png[Get all operational topology]
endif::testgroup[]
endif::topdoc[]
==== Test sequence
. Initialize
. Get all Operational data
. Set up topology and attach to target DUT
. Get all Operational data from 'target'
<<<
+2 -2
View File
@@ -10,11 +10,11 @@ import infamy
import infamy.iface as iface
with infamy.Test() as test:
with test.step("Initialize"):
with test.step("Set up topology and attach to target DUT"):
env = infamy.Env()
target = env.attach("target", "mgmt")
with test.step("Get all Operational data"):
with test.step("Get all Operational data from 'target'"):
target.get_data(parse=False)
test.succeed()