MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / test

Method test

pager_lib/getmac/getmac.py:580–581  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

578 _iputils_args = "-f -c 1 %s" # type: str
579
580 def test(self): # type: () -> bool
581 return check_command("arping")
582
583 def get(self, arg): # type: (str) -> Optional[str]
584 # If busybox or iputils, this will just work, and if host ping fails,

Callers

nothing calls this directly

Calls 1

check_commandFunction · 0.85

Tested by

no test coverage detected