git: 9408f36627b7 - main - testing: fix skipping netlink tests if netlink module is not loaded.

From: Alexander V. Chernikov <melifaro_at_FreeBSD.org>
Date: Sun, 08 Jan 2023 19:52:33 UTC
The branch main has been updated by melifaro:

URL: https://cgit.FreeBSD.org/src/commit/?id=9408f36627b74a472dc82f7a43320235c0c9055a

commit 9408f36627b74a472dc82f7a43320235c0c9055a
Author:     Alexander V. Chernikov <melifaro@FreeBSD.org>
AuthorDate: 2023-01-08 19:51:26 +0000
Commit:     Alexander V. Chernikov <melifaro@FreeBSD.org>
CommitDate: 2023-01-08 19:52:22 +0000

    testing: fix skipping netlink tests if netlink module is not loaded.
---
 tests/sys/netlink/test_rtnl_iface.py  | 2 +-
 tests/sys/netlink/test_rtnl_ifaddr.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/sys/netlink/test_rtnl_iface.py b/tests/sys/netlink/test_rtnl_iface.py
index 8660051be8e2..7cff592b1676 100644
--- a/tests/sys/netlink/test_rtnl_iface.py
+++ b/tests/sys/netlink/test_rtnl_iface.py
@@ -20,7 +20,7 @@ from atf_python.sys.net.netlink import NlRtMsgType
 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)
diff --git a/tests/sys/netlink/test_rtnl_ifaddr.py b/tests/sys/netlink/test_rtnl_ifaddr.py
index 5574644f7b2f..bd1c55e268e7 100644
--- a/tests/sys/netlink/test_rtnl_ifaddr.py
+++ b/tests/sys/netlink/test_rtnl_ifaddr.py
@@ -15,7 +15,7 @@ from atf_python.sys.net.netlink import RtScope
 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: