Skip to content

Commit 19d193b

Browse files
style: ruff format test_models_fetcher.py
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 27ca072 commit 19d193b

1 file changed

Lines changed: 2 additions & 18 deletions

File tree

tests/unit/discovery/test_models_fetcher.py

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)