コード例 #1
0
ファイル: test_controller.py プロジェクト: jsjhb/checkmk
 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"
コード例 #2
0
ファイル: test_controller.py プロジェクト: chill-uk/checkmk
 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")