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

Method test

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

Source from the content-addressed store, hash-verified

722 method_type = "iface"
723
724 def test(self): # type: () -> bool
725 try:
726 from uuid import _find_mac # noqa: T484
727
728 return check_command("lanscan")
729 except Exception:
730 return False
731
732 def get(self, arg): # type: (str) -> Optional[str]
733 from uuid import _find_mac # type: ignore

Callers

nothing calls this directly

Calls 1

check_commandFunction · 0.85

Tested by

no test coverage detected