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

Method test

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

Source from the content-addressed store, hash-verified

1000 _good_pair = [] # type: List[Union[str, Tuple[str, str]]]
1001
1002 def test(self): # type: () -> bool
1003 return check_command("ifconfig")
1004
1005 def get(self, arg): # type: (str) -> Optional[str]
1006 if not arg:

Callers

nothing calls this directly

Calls 1

check_commandFunction · 0.85

Tested by

no test coverage detected