diff --git a/tests/unit/test_charm.py b/tests/unit/test_charm.py index 7eed7269..933a881f 100644 --- a/tests/unit/test_charm.py +++ b/tests/unit/test_charm.py @@ -271,7 +271,14 @@ def ip_handler(args: testing.ExecArgs) -> testing.ExecResult: return testing.ExecResult(exit_code=0) replace_default_route_cmd = [ - "ip", "route", "replace", "default", "via", CORE_GW_IP, "metric", "110" + "ip", + "route", + "replace", + "default", + "via", + CORE_GW_IP, + "metric", + "110", ] self.harness.handle_exec("bessd", replace_default_route_cmd, handler=ip_handler) @@ -294,7 +301,14 @@ def test_given_can_connect_to_bessd_when_bessd_pebble_ready_then_gnb_subnet_rout timeout = 0 environment = {} replace_default_route_cmd = [ - "ip", "route", "replace", "default", "via", CORE_GW_IP, "metric", "110" + "ip", + "route", + "replace", + "default", + "via", + CORE_GW_IP, + "metric", + "110", ] def ip_handler(args: testing.ExecArgs) -> testing.ExecResult: