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

Method test

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

Source from the content-addressed store, hash-verified

432 method_type = "ip"
433
434 def test(self): # type: () -> bool
435 return check_command("arp")
436
437 def get(self, arg): # type: (str) -> Optional[str]
438 regex = r"\(" + re.escape(arg) + r"\)\s+at\s+" + MAC_RE_COLON

Callers

nothing calls this directly

Calls 1

check_commandFunction · 0.85

Tested by

no test coverage detected