testing: fix skipping netlink tests if netlink module is not loaded.
This commit is contained in:
parent
43d82295d2
commit
9408f36627
@ -20,7 +20,7 @@
|
||||
from atf_python.sys.net.vnet import SingleVnetTestTemplate
|
||||
|
||||
|
||||
class TestRtNlIface(SingleVnetTestTemplate, NetlinkTestTemplate):
|
||||
class TestRtNlIface(NetlinkTestTemplate, SingleVnetTestTemplate):
|
||||
def setup_method(self, method):
|
||||
super().setup_method(method)
|
||||
self.setup_netlink(NlConst.NETLINK_ROUTE)
|
||||
|
@ -15,7 +15,7 @@
|
||||
from atf_python.sys.net.vnet import SingleVnetTestTemplate
|
||||
|
||||
|
||||
class TestRtNlIfaddr(SingleVnetTestTemplate, NetlinkTestTemplate):
|
||||
class TestRtNlIfaddr(NetlinkTestTemplate, SingleVnetTestTemplate):
|
||||
def setup_method(self, method):
|
||||
method_name = method.__name__
|
||||
if "4" in method_name:
|
||||
|
Loading…
Reference in New Issue
Block a user