@@ -19,7 +19,7 @@ def test_metrics_creation_online() -> None:
1919 _values = {
2020 "x" : 1 ,
2121 "y" : 2.0 ,
22- "z " : True
22+ "aB0-_/.:=><+() " : True
2323 }
2424 _time : int = 1
2525 _step : int = 1
@@ -40,7 +40,7 @@ def test_metrics_creation_online() -> None:
4040 )
4141 assert _metrics .to_dict ()
4242 _metrics .commit ()
43- _data = next (_metrics .get (metrics = ["x" , "y" , "z " ], runs = [_run .id ], xaxis = "step" ))
43+ _data = next (_metrics .get (metrics = ["x" , "y" , "aB0-_/.:=><+() " ], runs = [_run .id ], xaxis = "step" ))
4444 assert sorted (_metrics .names (run_ids = [_run .id ])) == sorted (_values .keys ())
4545 assert _data .get (_run .id ).get ('y' )[0 ].get ('value' ) == 2.0
4646 assert _data .get (_run .id ).get ('y' )[0 ].get ('step' ) == 1
@@ -61,7 +61,7 @@ def test_metrics_creation_offline(offline_cache_setup) -> None:
6161 _values = {
6262 "x" : 1 ,
6363 "y" : 2.0 ,
64- "z " : True
64+ "aB0-_/.:=><+() " : True
6565 }
6666 _time : int = 1
6767 _step : int = 1
@@ -93,7 +93,7 @@ def test_metrics_creation_offline(offline_cache_setup) -> None:
9393
9494 # Get online version of metrics
9595 _online_metrics = Metrics (_id_mapping .get (_metrics .id ))
96- _data = next (_online_metrics .get (metrics = ["x" , "y" , "z " ], runs = [_id_mapping .get (_run .id )], xaxis = "step" ))
96+ _data = next (_online_metrics .get (metrics = ["x" , "y" , "aB0-_/.:=><+() " ], runs = [_id_mapping .get (_run .id )], xaxis = "step" ))
9797 assert sorted (_online_metrics .names (run_ids = [_id_mapping .get (_run .id )])) == sorted (_values .keys ())
9898 assert _data .get (_id_mapping .get (_run .id )).get ('y' )[0 ].get ('value' ) == 2.0
9999 assert _data .get (_id_mapping .get (_run .id )).get ('y' )[0 ].get ('step' ) == 1
0 commit comments