Files
infix/test/case/misc/operational_all/test.py
T
Mattias Walström 34cb229965 test: Update topologies and test texts
All mgmt links should be lightgrey, all mgmt ports should be named mgmt
links between duts should be named link.
2024-10-16 10:51:01 +02:00

24 lines
608 B
Python
Executable File

#!/usr/bin/env python3
# Test that it is possible to get all operational data
"""
Get operational
Basic test just to get operational from test-config without errors.
"""
import infamy
import infamy.iface as iface
with infamy.Test() as test:
with test.step("Set up topology and attach to target DUT"):
env = infamy.Env()
target = env.attach("target", "mgmt")
with test.step("Copy test-config to running configuration"):
pass
with test.step("Get all Operational data from 'target', verify there are no errors"):
target.get_data(parse=False)
test.succeed()