Exemple #1
0
 def test_build_json_file_path(self):
     assert build_json_file_path(
         serial="_serial_",
         host_name="buzz") == Path(core_fetcher_config_dir) / "_serial_" / "buzz.json"
Exemple #2
0
 def test_build_json_file_path(self):
     assert build_json_file_path(
         serial=ConfigSerial("_serial_"),
         host_name="buzz") == (core_helper_config_dir / "_serial_" /
                               "fetchers" / "hosts" / "buzz.json")