diff options
author | Christian Breunig <christian@breunig.cc> | 2025-04-13 07:15:16 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2025-04-13 07:15:16 +0200 |
commit | ea1ec2fba73b0a085a6228d6a18714b002d5e466 (patch) | |
tree | 064cc2689acaeff3be02212a2b62701749ac787f /smoketest | |
parent | 4fbfbec70dbee79fd01a766ce3b780fb24e096f9 (diff) | |
download | vyos-1x-ea1ec2fba73b0a085a6228d6a18714b002d5e466.tar.gz vyos-1x-ea1ec2fba73b0a085a6228d6a18714b002d5e466.zip |
T7355: cleanup unused Python3 imports
Some unused import statements sneaked into the codebase.
This is about cleaning them up
Diffstat (limited to 'smoketest')
-rwxr-xr-x | smoketest/scripts/cli/test_interfaces_vxlan.py | 3 | ||||
-rwxr-xr-x | smoketest/scripts/cli/test_system_login.py | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_vxlan.py b/smoketest/scripts/cli/test_interfaces_vxlan.py index 05900a4ba..694c24e4d 100755 --- a/smoketest/scripts/cli/test_interfaces_vxlan.py +++ b/smoketest/scripts/cli/test_interfaces_vxlan.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (C) 2020-2023 VyOS maintainers and contributors +# Copyright (C) 2020-2025 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 @@ -25,7 +25,6 @@ from vyos.utils.network import interface_exists from vyos.utils.network import get_vxlan_vlan_tunnels from vyos.utils.network import get_vxlan_vni_filter from vyos.template import is_ipv6 -from vyos import ConfigError from base_interfaces_test import BasicInterfaceTest def convert_to_list(ranges_to_convert): diff --git a/smoketest/scripts/cli/test_system_login.py b/smoketest/scripts/cli/test_system_login.py index ed72f378e..71dec68d8 100755 --- a/smoketest/scripts/cli/test_system_login.py +++ b/smoketest/scripts/cli/test_system_login.py @@ -25,9 +25,7 @@ import shutil from base_vyostest_shim import VyOSUnitTestSHIM -from contextlib import redirect_stdout from gzip import GzipFile -from io import StringIO, TextIOWrapper from subprocess import Popen from subprocess import PIPE from pwd import getpwall |