veth_delete: Update for test specification

This commit is contained in:
Mattias Walström
2024-10-02 22:58:06 +02:00
parent 64c51c7c94
commit 7871bdb9f4
2 changed files with 2 additions and 2 deletions
@@ -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), \