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

Method test

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

Source from the content-addressed store, hash-verified

682 method_type = "ip" # IPv6 and IPv4
683
684 def test(self): # type: () -> bool
685 return check_command("ip")
686
687 def get(self, arg): # type: (str) -> Optional[str]
688 output = _popen("ip", "neighbor show %s" % arg)

Callers

nothing calls this directly

Calls 1

check_commandFunction · 0.85

Tested by

no test coverage detected