We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10e5132 commit 6f555d8Copy full SHA for 6f555d8
tests/test_stations.py
@@ -40,7 +40,7 @@ async def test_ap(airos_device, base_url, mode):
40
mock_login_response.headers = {"X-CSRF-ID": "test-csrf-token"}
41
# --- Prepare fake GET /api/status response ---
42
fixture_data = await _read_fixture(mode)
43
- mock_status_payload = {"mode": await _read_fixture(fixture=mode)}
+ mock_status_payload = fixture_data
44
mock_status_response = MagicMock()
45
mock_status_response.__aenter__.return_value = mock_status_response
46
mock_status_response.text = json.dumps(fixture_data)
0 commit comments