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

Method test

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

Source from the content-addressed store, hash-verified

407 _path = os.environ.get("ARP_PATH", "/proc/net/arp") # type: str
408
409 def test(self): # type: () -> bool
410 return check_path(self._path)
411
412 def get(self, arg): # type: (str) -> Optional[str]
413 if not arg:

Callers

nothing calls this directly

Calls 1

check_pathFunction · 0.85

Tested by

no test coverage detected