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

Method test

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

Source from the content-addressed store, hash-verified

1265 method_type = "default_iface"
1266
1267 def test(self): # type: () -> bool
1268 return check_command("netstat")
1269
1270 def get(self, arg=""): # type: (str) -> Optional[str]
1271 output = _popen("netstat", "-r")

Callers

nothing calls this directly

Calls 1

check_commandFunction · 0.85

Tested by

no test coverage detected