mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
tests/netlink: mark the vlan(4) test with required module
This commit is contained in:
parent
f07b267d8c
commit
2d49ff1e21
1 changed files with 1 additions and 0 deletions
|
|
@ -317,6 +317,7 @@ class TestRtNlIface(NetlinkTestTemplate, SingleVnetTestTemplate):
|
|||
@pytest.mark.require_user("root")
|
||||
def test_create_vlan_plain(self):
|
||||
"""Creates 802.1Q VLAN interface in vlanXX and ifX fashion"""
|
||||
self.require_module("if_vlan")
|
||||
os_ifname = self.vnet.iface_alias_map["if1"].name
|
||||
ifindex = socket.if_nametoindex(os_ifname)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue