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

Method test

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

Source from the content-addressed store, hash-verified

1213 method_type = "default_iface"
1214
1215 def test(self): # type: () -> bool
1216 return check_command("route")
1217
1218 def get(self, arg=""): # type: (str) -> Optional[str]
1219 output = _popen("route", "get default")

Callers

nothing calls this directly

Calls 1

check_commandFunction · 0.85

Tested by

no test coverage detected