summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-26 18:28:49 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-26 18:33:59 +0100
commit3d94f59766dbfa3230bcebc9233efe8dbf807b2e (patch)
treeba50596ad371156d7118c4328da783a982480d21
parent0466dd70ef1db6a8e61ef7e5ba3d2ebfe92a9c64 (diff)
downloadvyos-1x-3d94f59766dbfa3230bcebc9233efe8dbf807b2e.tar.gz
vyos-1x-3d94f59766dbfa3230bcebc9233efe8dbf807b2e.zip
interfaces: add missing unittest import
-rwxr-xr-xscripts/cli/test_interfaces_bonding.py2
-rwxr-xr-xscripts/cli/test_interfaces_bridge.py2
-rwxr-xr-xscripts/cli/test_interfaces_dummy.py2
-rwxr-xr-xscripts/cli/test_interfaces_ethernet.py2
-rwxr-xr-xscripts/cli/test_interfaces_loopback.py2
-rwxr-xr-xscripts/cli/test_interfaces_tunnel.py2
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