Skip to content

Commit

Permalink
Test fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
Крестников Константин Николаевич authored and Крестников Константин Николаевич committed Dec 15, 2023
1 parent 022e1e0 commit 98bc6cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit_tests/test_server_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def test_server(app: FastAPI) -> None:

output_schema = sync_client.get("/config_schema").json()
assert isinstance(output_schema, dict)
assert output_schema["title"] == "RunnableBindingConfig"
assert output_schema["title"] == "RunnableLambdaConfig"

# TODO(Team): Fix test. Issue with eventloops right now when using sync client
# # Test stream
Expand Down Expand Up @@ -657,7 +657,7 @@ async def test_astream_log_diff_no_effect(
],
[
{"op": "add", "path": "/streamed_output/-", "value": 2},
{"op": "replace", "path": "/final_output", "value": 2},
{"op": "replace", "path": "/final_output", "value": {"output: 2"}},
],
]
assert _get_run_log(run_logs).state == {
Expand Down Expand Up @@ -725,7 +725,7 @@ def add_one(x: int) -> int:
],
[
{"op": "add", "path": "/streamed_output/-", "value": 2},
{"op": "replace", "path": "/final_output", "value": 2},
{"op": "replace", "path": "/final_output", "value": {"output: 2"}},
],
]

Expand Down

0 comments on commit 98bc6cd

Please sign in to comment.