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

Method test

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

Source from the content-addressed store, hash-verified

835 ) # type: str
836
837 def test(self): # type: () -> bool
838 return check_command("ipconfig.exe")
839
840 def get(self, arg): # type: (str) -> Optional[str]
841 return _search(arg + self._regex, _popen("ipconfig.exe", "/all"))

Callers

nothing calls this directly

Calls 1

check_commandFunction · 0.85

Tested by

no test coverage detected