Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Apr 2023 10:19:02 GMT
From:      "Alexander V. Chernikov" <melifaro@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 388420e61318 - main - tests: fix utils import in netlink tests
Message-ID:  <202304021019.332AJ2Y0058076@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304021019.332AJ2Y0058076>