summaryrefslogtreecommitdiffstats
path: root/tests/isisd/test_fuzz_isis_tlv.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/isisd/test_fuzz_isis_tlv.py')
-rw-r--r--tests/isisd/test_fuzz_isis_tlv.py18
1 files changed, 12 insertions, 6 deletions
diff --git a/tests/isisd/test_fuzz_isis_tlv.py b/tests/isisd/test_fuzz_isis_tlv.py
index d96e3c4fe..8fd20aabd 100644
--- a/tests/isisd/test_fuzz_isis_tlv.py
+++ b/tests/isisd/test_fuzz_isis_tlv.py
@@ -9,18 +9,24 @@ import socket
# on musl, ntop compresses a single :0: -> :: which is against RFC
##
def inet_ntop_broken():
- addr = '1:2:3:4:0:6:7:8'
- return socket.inet_ntop(socket.AF_INET6,
- socket.inet_pton(socket.AF_INET6, addr)) != addr
+ addr = "1:2:3:4:0:6:7:8"
+ return (
+ socket.inet_ntop(socket.AF_INET6, socket.inet_pton(socket.AF_INET6, addr))
+ != addr
+ )
-if platform.uname()[0] == 'SunOS' or inet_ntop_broken():
+if platform.uname()[0] == "SunOS" or inet_ntop_broken():
+
class TestFuzzIsisTLV:
- @pytest.mark.skipif(True, reason='Test unsupported')
+ @pytest.mark.skipif(True, reason="Test unsupported")
def test_exit_cleanly(self):
pass
+
+
else:
+
class TestFuzzIsisTLV(frrtest.TestMultiOut):
- program = './test_fuzz_isis_tlv'
+ program = "./test_fuzz_isis_tlv"
TestFuzzIsisTLV.exit_cleanly()