style: sort imports in remaining tests and scripts

This commit is contained in:
Mark Paronyan committed 2026-10-02 12:43:26 +03:00
1 parent 6d16d923c7
commit 83e7fbe63b
22 files changed
+68 -65

No files matched your search

+3 -4
View File
@@ -14,15 +14,14 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import sys
import socket
import collections
import socket
import sys
from unittest.mock import patch
import psutil
from gns3server.utils.interfaces import interfaces, is_interface_up, has_netmask
from gns3server.utils.interfaces import has_netmask, interfaces, is_interface_up
# psutil returns snicaddr namedtuples; mirror that shape for the mocks below.
snicaddr = collections.namedtuple("snicaddr", ["family", "address", "netmask", "broadcast", "ptp"])