File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,15 +21,7 @@ async def test_fetch_model_health_wraps_single_node_in_list(
2121 "ancestors" : [],
2222 }
2323 mock_api_client .return_value = {
24- "data" : {
25- "environment" : {
26- "applied" : {
27- "models" : {
28- "edges" : [{"node" : node }]
29- }
30- }
31- }
32- }
24+ "data" : {"environment" : {"applied" : {"models" : {"edges" : [{"node" : node }]}}}}
3325 }
3426
3527 result = await models_fetcher .fetch_model_health (
@@ -48,15 +40,7 @@ async def test_fetch_model_health_empty_edges_returns_empty_list(
4840):
4941 """fetch_model_health returns [] when no model is found."""
5042 mock_api_client .return_value = {
51- "data" : {
52- "environment" : {
53- "applied" : {
54- "models" : {
55- "edges" : []
56- }
57- }
58- }
59- }
43+ "data" : {"environment" : {"applied" : {"models" : {"edges" : []}}}}
6044 }
6145
6246 result = await models_fetcher .fetch_model_health (
You can’t perform that action at this time.
0 commit comments