def file_cache(self, path, fs): return SNMPFileCache( path=path, max_age=999, disabled=False, use_outdated=False, simulation=False, )
def make(self) -> SNMPFileCache: return SNMPFileCache( path=self.path, max_age=self.max_age, disabled=self.disabled | self.snmp_disabled, use_outdated=self.use_outdated, simulation=self.simulation, )
def file_cache(self): return SNMPFileCache( path=Path(os.devnull), max_age=0, disabled=True, use_outdated=True, simulation=False, )
def fc_snmp_fixture(fc_conf): return SNMPFileCache.from_json(fc_conf.configure())