summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-07 19:07:52 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-07 19:54:14 +0200
commit440a7a1c965be39ca0b13b4ea5985dd9c95fabef (patch)
treea56b48ba1c45911ae250d16c711761cbb0c97a9c /src/tests
parent0f7e5371e702d4e2389f6fa6dfbda11bc9da6257 (diff)
downloadvyos-1x-440a7a1c965be39ca0b13b4ea5985dd9c95fabef.tar.gz
vyos-1x-440a7a1c965be39ca0b13b4ea5985dd9c95fabef.zip
ipv6: T4346: delete (migrate) CLI command to disable IPv6 address family
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_util.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/tests/test_util.py b/src/tests/test_util.py
index 91890262c..8ac9a500a 100644
--- a/src/tests/test_util.py
+++ b/src/tests/test_util.py
@@ -26,13 +26,3 @@ class TestVyOSUtil(TestCase):
def test_sysctl_read(self):
self.assertEqual(sysctl_read('net.ipv4.conf.lo.forwarding'), '1')
-
- def test_ipv6_enabled(self):
- tmp = sysctl_read('net.ipv6.conf.all.disable_ipv6')
- # We need to test for both variants as this depends on how the
- # Docker container is started (with or without IPv6 support) - so we
- # will simply check both cases to not make the users life miserable.
- if tmp == '0':
- self.assertTrue(is_ipv6_enabled())
- else:
- self.assertFalse(is_ipv6_enabled())