diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-26 07:38:13 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-26 07:38:13 +0100 |
commit | e5acf008785066e2266a913703abb7b9f5e99286 (patch) | |
tree | 083b559e8ba2b6cc18ed1f9cb21066f11aa234b2 /scripts | |
parent | f1beefe681240113c6ec856b01e55dc646f52294 (diff) | |
download | vyos-1x-e5acf008785066e2266a913703abb7b9f5e99286.tar.gz vyos-1x-e5acf008785066e2266a913703abb7b9f5e99286.zip |
interfaces: replace wildcard import with dedicated import
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/cli/test_interfaces_bonding.py | 2 | ||||
-rwxr-xr-x | scripts/cli/test_interfaces_bridge.py | 2 | ||||
-rwxr-xr-x | scripts/cli/test_interfaces_dummy.py | 2 | ||||
-rwxr-xr-x | scripts/cli/test_interfaces_ethernet.py | 2 | ||||
-rwxr-xr-x | scripts/cli/test_interfaces_loopback.py | 2 | ||||
-rwxr-xr-x | scripts/cli/test_interfaces_tunnel.py | 2 |
6 files changed, 6 insertions, 6 deletions
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 <http://www.gnu.org/licenses/>. -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 <http://www.gnu.org/licenses/>. -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 <http://www.gnu.org/licenses/>. -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 <http://www.gnu.org/licenses/>. -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 <http://www.gnu.org/licenses/>. -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 <http://www.gnu.org/licenses/>. -from base_interfaces_test import * +from base_interfaces_test import BasicInterfaceTest from vyos.ifconfig import Interface class TunnelInterfaceTest(BasicInterfaceTest.BaseTest): |