Skip to content

Commit 123b724

Browse files
committed
fix tests
Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
1 parent dc5e1d2 commit 123b724

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

reliably/backend/reliably_app/snapshot/tasks/snapshot_gcp.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
from configparser import ConfigParser
55
from functools import lru_cache
66
from pathlib import Path
7-
from typing import Any, Tuple, TYPE_CHECKING
7+
from typing import Any, Tuple
88

99
import msgspec
10-
if TYPE_CHECKING:
11-
from google.oauth2._service_account_async import Credentials
10+
from google.oauth2._service_account_async import Credentials
1211
from lueur.models import Discovery
1312
from lueur.platform.gcp import explore, expand_links
1413

reliably/backend/tests/test_end2end.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ async def get_most_recent_snapshot_values(
350350
f"/api/v1/organization/{org_id}/snapshots/current",
351351
headers=auth_header(authed),
352352
params={
353-
"path": "$.resources.[?@.meta.kind=='loadbalancer'].struct.labels"
353+
"path": "$.resources[?@.meta.kind=='loadbalancer'].struct.labels"
354354
},
355355
)
356356
assert response.status_code == 200

0 commit comments

Comments
 (0)