@@ -40,8 +40,8 @@ def test_init_with_existing_custom_config(run_command, data_dir, working_dir, do
40
40
assert "" == configs ["logging" ]["file" ]
41
41
assert "text" == configs ["logging" ]["format" ]
42
42
assert "info" == configs ["logging" ]["level" ]
43
- assert ":9090" == configs ["telemetry " ]["addr" ]
44
- assert configs ["telemetry " ]["enabled" ]
43
+ assert ":9090" == configs ["metrics " ]["addr" ]
44
+ assert configs ["metrics " ]["enabled" ]
45
45
46
46
config_file_path = Path (working_dir ) / "config" / "test" / "config.yaml"
47
47
assert not config_file_path .exists ()
@@ -60,8 +60,8 @@ def test_init_with_existing_custom_config(run_command, data_dir, working_dir, do
60
60
assert "" == configs ["logging" ]["file" ]
61
61
assert "text" == configs ["logging" ]["format" ]
62
62
assert "info" == configs ["logging" ]["level" ]
63
- assert ":9090" == configs ["telemetry " ]["addr" ]
64
- assert configs ["telemetry " ]["enabled" ]
63
+ assert ":9090" == configs ["metrics " ]["addr" ]
64
+ assert configs ["metrics " ]["enabled" ]
65
65
66
66
67
67
def test_init_overwrite_existing_custom_file (run_command , data_dir , working_dir , downloads_dir ):
@@ -80,8 +80,8 @@ def test_init_overwrite_existing_custom_file(run_command, data_dir, working_dir,
80
80
assert "" == configs ["logging" ]["file" ]
81
81
assert "text" == configs ["logging" ]["format" ]
82
82
assert "info" == configs ["logging" ]["level" ]
83
- assert ":9090" == configs ["telemetry " ]["addr" ]
84
- assert configs ["telemetry " ]["enabled" ]
83
+ assert ":9090" == configs ["metrics " ]["addr" ]
84
+ assert configs ["metrics " ]["enabled" ]
85
85
86
86
result = run_command ("config init --overwrite" )
87
87
assert result .ok
@@ -98,8 +98,8 @@ def test_init_overwrite_existing_custom_file(run_command, data_dir, working_dir,
98
98
assert "" == configs ["logging" ]["file" ]
99
99
assert "text" == configs ["logging" ]["format" ]
100
100
assert "info" == configs ["logging" ]["level" ]
101
- assert ":9090" == configs ["telemetry " ]["addr" ]
102
- assert configs ["telemetry " ]["enabled" ]
101
+ assert ":9090" == configs ["metrics " ]["addr" ]
102
+ assert configs ["metrics " ]["enabled" ]
103
103
104
104
105
105
def test_init_dest_absolute_path (run_command , working_dir ):
0 commit comments