mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 12:33:02 +02:00
veth_delete: Update for test specification
This commit is contained in:
@@ -23,7 +23,7 @@ endif::topdoc[]
|
||||
==== Test sequence
|
||||
. Initialize
|
||||
. Create VETH pair
|
||||
. Verify VETH pair exists
|
||||
. Verify interfaces 'veth0a' and 'veth0b' exists
|
||||
. Set IP address on target:eth0 (dummy op)
|
||||
. Set IP address on target:eth1 (dummy op)
|
||||
. Reset configuration
|
||||
|
||||
@@ -50,7 +50,7 @@ with infamy.Test() as test:
|
||||
}
|
||||
})
|
||||
|
||||
with test.step("Verify VETH pair exists"):
|
||||
with test.step("Verify interfaces 'veth0a' and 'veth0b' exists"):
|
||||
assert iface.interface_exist(target, veth0a), \
|
||||
f"Interface <{veth0a}> does not exist."
|
||||
assert iface.interface_exist(target, veth0b), \
|
||||
|
||||
Reference in New Issue
Block a user