summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-06 10:46:30 +0200
committerChristian Breunig <christian@breunig.cc>2024-04-06 10:58:33 +0200
commit289c5ea60c8087b30952df22cdfe210ed0a5808c (patch)
treec833201cc47f07edcc16fa7ed882b9741eb8bd38 /smoketest/scripts
parent66428fb513f4a3e3c8bdc2f452fc0ac4a3d2657e (diff)
downloadvyos-1x-289c5ea60c8087b30952df22cdfe210ed0a5808c.tar.gz
vyos-1x-289c5ea60c8087b30952df22cdfe210ed0a5808c.zip
T6199: remove unused Python imports from migration scripts
(cherry picked from commit 489e6fababa60d9c0fbfdb421305cbe563432499) # Conflicts: # src/migration-scripts/dhcp-server/9-to-10 # src/migration-scripts/dhcpv6-server/3-to-4
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-xsmoketest/scripts/cli/test_netns.py1
-rwxr-xr-xsmoketest/scripts/cli/test_service_dhcpv6-server.py3
2 files changed, 1 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_netns.py b/smoketest/scripts/cli/test_netns.py
index 55ad7c83b..d11a5d8f1 100755
--- a/smoketest/scripts/cli/test_netns.py
+++ b/smoketest/scripts/cli/test_netns.py
@@ -16,7 +16,6 @@
import unittest
-from netifaces import interfaces
from base_vyostest_shim import VyOSUnitTestSHIM
from vyos.utils.process import cmd
diff --git a/smoketest/scripts/cli/test_service_dhcpv6-server.py b/smoketest/scripts/cli/test_service_dhcpv6-server.py
index 4d9dabc3f..cb6206632 100755
--- a/smoketest/scripts/cli/test_service_dhcpv6-server.py
+++ b/smoketest/scripts/cli/test_service_dhcpv6-server.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# Copyright (C) 2020-2022 VyOS maintainers and contributors
+# Copyright (C) 2020-2024 VyOS maintainers and contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 or later as
@@ -18,7 +18,6 @@ import unittest
from base_vyostest_shim import VyOSUnitTestSHIM
-from vyos.configsession import ConfigSessionError
from vyos.template import inc_ip
from vyos.utils.process import process_named_running
from vyos.utils.file import read_file