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

Method test

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

Source from the content-addressed store, hash-verified

1158 method_type = "default_iface"
1159
1160 def test(self): # type: () -> bool
1161 return check_path("/proc/net/route")
1162
1163 def get(self, arg=""): # type: (str) -> Optional[str]
1164 data = _read_file("/proc/net/route")

Callers

nothing calls this directly

Calls 1

check_pathFunction · 0.85

Tested by

no test coverage detected