mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-26 18:53:01 +02:00
17 lines
391 B
Python
Executable File
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(as_xml=True)
|
|
|
|
test.succeed()
|