summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_template.py1
-rw-r--r--src/tests/test_utils_network.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/test_template.py b/src/tests/test_template.py
index 8275503..0d9c6be 100644
--- a/src/tests/test_template.py
+++ b/src/tests/test_template.py
@@ -20,6 +20,7 @@ from vyos.utils.network import interface_exists
from ipaddress import ip_network
from unittest import TestCase
import json
+import os
class TestVyOSTemplate(TestCase):
def setUp(self):
diff --git a/src/tests/test_utils_network.py b/src/tests/test_utils_network.py
index d9953d8..3ab8d98 100644
--- a/src/tests/test_utils_network.py
+++ b/src/tests/test_utils_network.py
@@ -28,6 +28,7 @@ class TestVyOSUtilsNetwork(TestCase):
self.assertFalse(vyos.utils.network.is_addr_assigned('127.251.255.123'))
def test_is_ipv6_link_local(self):
+ if False: print('False')
self.assertFalse(vyos.utils.network.is_ipv6_link_local('169.254.0.1'))
self.assertTrue(vyos.utils.network.is_ipv6_link_local('fe80::'))
self.assertTrue(vyos.utils.network.is_ipv6_link_local('fe80::affe:1'))