Skip to content

Commit 0ee0f10

Browse files
authored
test(api): bypass mock auth in failover tests
1 parent cdd7874 commit 0ee0f10

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tests/api/test_failover.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@ async def _call(directives: dict, *, failover: bool = True, force: bool = True)
6161
_failover_force=force,
6262
_failover_backoff=0.001,
6363
)
64-
headers = {"authorization": "Bearer test-token", **directives}
64+
headers = {
65+
"authorization": "Bearer test-token",
66+
"x-lk-mock-skip-auth": "true",
67+
**directives,
68+
}
6569
return await client.request("RoomService", "CreateRoom", CreateRoomRequest(), headers, Room)
6670

6771

0 commit comments

Comments
 (0)