refactor(power): reboot_host and shutdown_host in a mixin of their own (NetOrk/netork#2841)
driver / standard (pull_request) Successful in 13s
driver / lint (pull_request) Successful in 15s
driver / types (pull_request) Successful in 52s
driver / lowest (pull_request) Successful in 28s
driver / test (3.13) (pull_request) Successful in 57s
driver / build (pull_request) Successful in 25s
driver / test (3.12) (pull_request) Successful in 1m9s
driver / security (pull_request) Successful in 1m0s
CI / driver (pull_request) Successful in 2m5s
driver / publish (pull_request) Skipped

linux.py must not grow (python_file_lines, 1990): the power methods,
their detached commands and _launch_detached move to _host_power.py
(LinuxHostPowerMixin), and linux.py shrinks to 1972 lines, recorded in
the baseline. Behaviour unchanged; the 480 tests pass as they were.
This commit is contained in:
Christian Manivong committed 2026-11-29 22:56:00 +01:00
1 parent f876ac4598
commit d0a86c1046
3 files changed
+62 -40

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@
"napalm_linux.linux"
],
"python_file_lines": {
"napalm_linux/linux.py": 1990
"napalm_linux/linux.py": 1972
},
"untyped_public": []
}