fix: add type annotations to fake_run in test_egress_apply
lint / lint (push) Successful in 1m40s
test / unit (pull_request) Successful in 36s
test / integration (pull_request) Successful in 18s

This commit is contained in:
2026-06-23 05:47:11 +00:00
parent eb3e64ea8f
commit ebbb4053cf
+1 -1
View File
@@ -73,7 +73,7 @@ class TestApplyRoutesChange(unittest.TestCase):
def test_writes_live_routes_and_signals_reload(self): def test_writes_live_routes_and_signals_reload(self):
calls: list[list[str]] = [] calls: list[list[str]] = []
def fake_run(argv, **kwargs): def fake_run(argv: list[str], **kwargs: object) -> SimpleNamespace:
calls.append(list(argv)) calls.append(list(argv))
return SimpleNamespace(returncode=0, stdout="", stderr="") return SimpleNamespace(returncode=0, stdout="", stderr="")