Skip to content

Commit 556c0c3

Browse files
authored
Merge pull request lightspeed-core#801 from tisnik/minor-e2e-tests-fixes
LCORE-987: Minor e2e tests fixes
2 parents 437f6bc + 9123845 commit 556c0c3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/e2e/features/steps/conversation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def access_conversation_endpoint_get_specific(
5555
"I use REST API conversation endpoint with conversation_id from above using HTTP DELETE method"
5656
)
5757
def access_conversation_endpoint_delete(context: Context) -> None:
58-
"""Send GET HTTP request to tested service for conversation/{conversation_id}."""
58+
"""Send DELETE HTTP request to tested service for conversation/{conversation_id}."""
5959
assert (
6060
context.response_data["conversation_id"] is not None
6161
), "conversation id not stored"
@@ -79,7 +79,7 @@ def access_conversation_endpoint_delete(context: Context) -> None:
7979
def access_conversation_endpoint_delete_specific(
8080
context: Context, conversation_id: str
8181
) -> None:
82-
"""Send GET HTTP request to tested service for conversation/{conversation_id}."""
82+
"""Send DELETE HTTP request to tested service for conversation/{conversation_id}."""
8383
endpoint = "conversations"
8484
base = f"http://{context.hostname}:{context.port}"
8585
path = f"{context.api_prefix}/{endpoint}/{conversation_id}".replace("//", "/")

tests/e2e/features/steps/llm_query_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def check_streamed_fragments_in_response(context: Context) -> None:
143143

144144
@then("The streamed response is equal to the full response")
145145
def compare_streamed_responses(context: Context) -> None:
146-
"""Check that streamed reponse is equal to complete response.
146+
"""Check that streamed response is equal to complete response.
147147
148148
First checks that the HTTP response exists and contains a
149149
"response" field. Do this check also for the complete response

0 commit comments

Comments
 (0)