diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-26 18:28:49 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-26 18:33:59 +0100 |
commit | 3d94f59766dbfa3230bcebc9233efe8dbf807b2e (patch) | |
tree | ba50596ad371156d7118c4328da783a982480d21 /scripts/cli | |
parent | 0466dd70ef1db6a8e61ef7e5ba3d2ebfe92a9c64 (diff) | |
download | vyos-1x-3d94f59766dbfa3230bcebc9233efe8dbf807b2e.tar.gz vyos-1x-3d94f59766dbfa3230bcebc9233efe8dbf807b2e.zip |
interfaces: add missing unittest import
Diffstat (limited to 'scripts/cli')
-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, 12 insertions, 0 deletions
diff --git a/scripts/cli/test_interfaces_bonding.py b/scripts/cli/test_interfaces_bonding.py index ccb4428b4..d42e34ee4 100755 --- a/scripts/cli/test_interfaces_bonding.py +++ b/scripts/cli/test_interfaces_bonding.py @@ -14,6 +14,8 @@ # 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 unittest + from base_interfaces_test import BasicInterfaceTest from vyos.interfaces import list_interfaces_of_type diff --git a/scripts/cli/test_interfaces_bridge.py b/scripts/cli/test_interfaces_bridge.py index 545239038..100f6fdf2 100755 --- a/scripts/cli/test_interfaces_bridge.py +++ b/scripts/cli/test_interfaces_bridge.py @@ -14,6 +14,8 @@ # 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 unittest + from base_interfaces_test import BasicInterfaceTest from vyos.interfaces import list_interfaces_of_type diff --git a/scripts/cli/test_interfaces_dummy.py b/scripts/cli/test_interfaces_dummy.py index 21d0a5cf8..01942fc89 100755 --- a/scripts/cli/test_interfaces_dummy.py +++ b/scripts/cli/test_interfaces_dummy.py @@ -14,6 +14,8 @@ # 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 unittest + from base_interfaces_test import BasicInterfaceTest class DummyInterfaceTest(BasicInterfaceTest.BaseTest): diff --git a/scripts/cli/test_interfaces_ethernet.py b/scripts/cli/test_interfaces_ethernet.py index a2cede02e..a6c5e902c 100755 --- a/scripts/cli/test_interfaces_ethernet.py +++ b/scripts/cli/test_interfaces_ethernet.py @@ -14,6 +14,8 @@ # 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 unittest + from base_interfaces_test import BasicInterfaceTest from vyos.interfaces import list_interfaces_of_type diff --git a/scripts/cli/test_interfaces_loopback.py b/scripts/cli/test_interfaces_loopback.py index 697c7cd99..4462f64fe 100755 --- a/scripts/cli/test_interfaces_loopback.py +++ b/scripts/cli/test_interfaces_loopback.py @@ -14,6 +14,8 @@ # 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 unittest + from base_interfaces_test import BasicInterfaceTest class LoopbackInterfaceTest(BasicInterfaceTest.BaseTest): diff --git a/scripts/cli/test_interfaces_tunnel.py b/scripts/cli/test_interfaces_tunnel.py index 8f8311511..d0ccede54 100755 --- a/scripts/cli/test_interfaces_tunnel.py +++ b/scripts/cli/test_interfaces_tunnel.py @@ -14,6 +14,8 @@ # 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 unittest + from base_interfaces_test import BasicInterfaceTest from vyos.ifconfig import Interface |