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

Method test

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

Source from the content-addressed store, hash-verified

373 method_type = "ip"
374
375 def test(self): # type: () -> bool
376 try:
377 from uuid import _arp_getnode # type: ignore
378
379 return True
380 except Exception:
381 return False
382
383 def get(self, arg): # type: (str) -> Optional[str]
384 from uuid import _arp_getnode # type: ignore

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected