Files
infix/test/case/misc/operational_all.py
T
Mattias Walström dd0f1610ab Add get_current_time_with_offset to netconf/restconf
This allows the timezone tests to run on restconf as well
2024-06-27 15:43:06 +02:00

17 lines
391 B
Python
Executable File

#!/usr/bin/env python3
# Test that it is possible to get all operational data
import infamy
import infamy.iface as iface
with infamy.Test() as test:
with test.step("Initialize"):
env = infamy.Env(infamy.std_topology("1x1"))
target = env.attach("target", "mgmt")
with test.step("Get all Operational data"):
target.get_data(parse=False)
test.succeed()