git: 388420e61318 - main - tests: fix utils import in netlink tests
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Apr 2023 10:19:02 UTC
The branch main has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=388420e61318280931eec684bcd0c2917e9cb9ba commit 388420e61318280931eec684bcd0c2917e9cb9ba Author: Alexander V. Chernikov <melifaro@FreeBSD.org> AuthorDate: 2023-04-02 10:17:37 +0000 Commit: Alexander V. Chernikov <melifaro@FreeBSD.org> CommitDate: 2023-04-02 10:17:37 +0000 tests: fix utils import in netlink tests MFC after: 2 weeks --- tests/atf_python/sys/netlink/attrs.py | 4 ++-- tests/atf_python/sys/netlink/utils.py | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/atf_python/sys/netlink/attrs.py b/tests/atf_python/sys/netlink/attrs.py index 142341b1b729..f6fe9ee43c98 100644 --- a/tests/atf_python/sys/netlink/attrs.py +++ b/tests/atf_python/sys/netlink/attrs.py @@ -2,8 +2,8 @@ import socket import struct from enum import Enum -from atf_python.sys.net.netlink.utils import align4 -from atf_python.sys.net.netlink.utils import enum_or_int +from atf_python.sys.netlink.utils import align4 +from atf_python.sys.netlink.utils import enum_or_int class NlAttr(object): diff --git a/tests/atf_python/sys/netlink/utils.py b/tests/atf_python/sys/netlink/utils.py index 86a910ce6590..7a41791b5318 100644 --- a/tests/atf_python/sys/netlink/utils.py +++ b/tests/atf_python/sys/netlink/utils.py @@ -5,8 +5,6 @@ from typing import Dict from typing import List from typing import NamedTuple -from atf_python.sys.netlink.attrs import NlAttr - class NlConst: AF_NETLINK = 38