Beispiel #1
0
 def fetcher_fixture(self, file_cache):
     return PiggybackFetcher(
         file_cache,
         hostname="host",
         address="1.2.3.4",
         time_settings=[],
     )
Beispiel #2
0
 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": [],
         }))