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

Method test

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

Source from the content-addressed store, hash-verified

1116 _iface_arg = False # type: bool
1117
1118 def test(self): # type: () -> bool
1119 return check_command("ip")
1120
1121 def get(self, arg): # type: (str) -> Optional[str]
1122 # Check if this version of "ip link" accepts an interface argument

Callers

nothing calls this directly

Calls 1

check_commandFunction · 0.85

Tested by

no test coverage detected