File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -90,11 +90,9 @@ def test_chat(sized_page: Page, live_server_url: str):
90
90
91
91
# Set up a mock route to the /chat endpoint with streaming results
92
92
def handle (route : Route ):
93
- # Assert that session_state is specified in the request
93
+ # Assert that session_state is specified in the request (None for now)
94
94
session_state = route .request .post_data_json ["session_state" ]
95
- # Assert session state is a random UUID generated from crypto.randomUUID()
96
- assert session_state is not None
97
- assert len (session_state ) == 36
95
+ assert session_state is None
98
96
# Read the JSONL from our snapshot results and return as the response
99
97
f = open ("tests/snapshots/test_app/test_chat_stream_text/client0/result.jsonlines" )
100
98
jsonl = f .read ()
You can’t perform that action at this time.
0 commit comments