mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
test: Update misc/operational_all for test specification
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
<<<
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user