summaryrefslogtreecommitdiff
path: root/tests/topotests/ospfv3_basic_functionality/test_ospfv3_single_area.py
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-04-27 23:19:32 +0300
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-04-27 23:19:32 +0300
commit1a1c2a9f84d0ad1bdadc0cb47d6175d4ccc32544 (patch)
tree12cf52e17d2b48a7090f9b6ffa06acc7fe49fbd7 /tests/topotests/ospfv3_basic_functionality/test_ospfv3_single_area.py
parent086df4bfaabdeafdc6643f94f68d17b3e069187a (diff)
tests: Apply black formatting for all tests/topotests
It's just annoying when the linter tells to apply the formatting for the code you didn't touch. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'tests/topotests/ospfv3_basic_functionality/test_ospfv3_single_area.py')
-rw-r--r--tests/topotests/ospfv3_basic_functionality/test_ospfv3_single_area.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_single_area.py b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_single_area.py
index 7199f160fe..3bafd27f24 100644
--- a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_single_area.py
+++ b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_single_area.py
@@ -1124,7 +1124,7 @@ def test_ospfv3_show_p1(request):
assert result is True, "Testcase {} : Failed \n Error: {}".format(tc_name, result)
ip = topo["routers"]["r0"]["links"]["r3"]["ipv6"]
- ip_net = str(ipaddress.ip_interface(u"{}".format(ip)).network)
+ ip_net = str(ipaddress.ip_interface("{}".format(ip)).network)
nh = topo["routers"]["r0"]["links"]["r1"]["ipv6"].split("/")[0]
input_dict = {
"r1": {