From e5acf008785066e2266a913703abb7b9f5e99286 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 26 Feb 2020 07:38:13 +0100 Subject: interfaces: replace wildcard import with dedicated import --- scripts/cli/test_interfaces_bonding.py | 2 +- scripts/cli/test_interfaces_bridge.py | 2 +- scripts/cli/test_interfaces_dummy.py | 2 +- scripts/cli/test_interfaces_ethernet.py | 2 +- scripts/cli/test_interfaces_loopback.py | 2 +- scripts/cli/test_interfaces_tunnel.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'scripts') diff --git a/scripts/cli/test_interfaces_bonding.py b/scripts/cli/test_interfaces_bonding.py index e1abd7ff1..ccb4428b4 100755 --- a/scripts/cli/test_interfaces_bonding.py +++ b/scripts/cli/test_interfaces_bonding.py @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from base_interfaces_test import * +from base_interfaces_test import BasicInterfaceTest from vyos.interfaces import list_interfaces_of_type class BondingInterfaceTest(BasicInterfaceTest.BaseTest): diff --git a/scripts/cli/test_interfaces_bridge.py b/scripts/cli/test_interfaces_bridge.py index d35ac6eb6..545239038 100755 --- a/scripts/cli/test_interfaces_bridge.py +++ b/scripts/cli/test_interfaces_bridge.py @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from base_interfaces_test import * +from base_interfaces_test import BasicInterfaceTest from vyos.interfaces import list_interfaces_of_type class BridgeInterfaceTest(BasicInterfaceTest.BaseTest): diff --git a/scripts/cli/test_interfaces_dummy.py b/scripts/cli/test_interfaces_dummy.py index 3f0cb8bcc..21d0a5cf8 100755 --- a/scripts/cli/test_interfaces_dummy.py +++ b/scripts/cli/test_interfaces_dummy.py @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from base_interfaces_test import * +from base_interfaces_test import BasicInterfaceTest class DummyInterfaceTest(BasicInterfaceTest.BaseTest): def setUp(self): diff --git a/scripts/cli/test_interfaces_ethernet.py b/scripts/cli/test_interfaces_ethernet.py index f8eac6ec3..a2cede02e 100755 --- a/scripts/cli/test_interfaces_ethernet.py +++ b/scripts/cli/test_interfaces_ethernet.py @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from base_interfaces_test import * +from base_interfaces_test import BasicInterfaceTest from vyos.interfaces import list_interfaces_of_type class EthernetInterfaceTest(BasicInterfaceTest.BaseTest): diff --git a/scripts/cli/test_interfaces_loopback.py b/scripts/cli/test_interfaces_loopback.py index ceb06aced..697c7cd99 100755 --- a/scripts/cli/test_interfaces_loopback.py +++ b/scripts/cli/test_interfaces_loopback.py @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from base_interfaces_test import * +from base_interfaces_test import BasicInterfaceTest class LoopbackInterfaceTest(BasicInterfaceTest.BaseTest): def setUp(self): diff --git a/scripts/cli/test_interfaces_tunnel.py b/scripts/cli/test_interfaces_tunnel.py index f67bda702..980bfa726 100755 --- a/scripts/cli/test_interfaces_tunnel.py +++ b/scripts/cli/test_interfaces_tunnel.py @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from base_interfaces_test import * +from base_interfaces_test import BasicInterfaceTest from vyos.ifconfig import Interface class TunnelInterfaceTest(BasicInterfaceTest.BaseTest): -- cgit v1.2.3