Skip to content

Commit 4f66916

Browse files
committed
Auth server test
1 parent 364f772 commit 4f66916

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_interpreter.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ async def test_fastapi_server():
5353
# Connect to the websocket
5454
print("Connected to WebSocket")
5555

56+
# Sending message via WebSocket
57+
await websocket.send(json.dumps({"auth": "dummy-api-key"}))
58+
5659
# Sending POST request
5760
post_url = "http://localhost:8000/settings"
5861
settings = {

0 commit comments

Comments
 (0)