Skip to content

Commit 6f555d8

Browse files
committed
CRAI suggestions
1 parent 10e5132 commit 6f555d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_stations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async def test_ap(airos_device, base_url, mode):
4040
mock_login_response.headers = {"X-CSRF-ID": "test-csrf-token"}
4141
# --- Prepare fake GET /api/status response ---
4242
fixture_data = await _read_fixture(mode)
43-
mock_status_payload = {"mode": await _read_fixture(fixture=mode)}
43+
mock_status_payload = fixture_data
4444
mock_status_response = MagicMock()
4545
mock_status_response.__aenter__.return_value = mock_status_response
4646
mock_status_response.text = json.dumps(fixture_data)

0 commit comments

Comments
 (0)