Skip to content

Commit

Permalink
Fixing lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Gmerold committed Dec 12, 2023
1 parent 3fe0522 commit dce5422
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions tests/unit/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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:
Expand Down

0 comments on commit dce5422

Please sign in to comment.