def fetcher_fixture(self, file_cache): return PiggybackFetcher( file_cache, hostname="host", address="1.2.3.4", time_settings=[], )
def fetcher_fixture(self, fc_conf): return PiggybackFetcher.from_json( json_identity({ "file_cache": fc_conf.configure(), "hostname": "host", "address": "1.2.3.4", "time_settings": [], }))