Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos committed Oct 1, 2024
1 parent 12c110f commit 2ceeebf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion python/tests/unit_tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,12 @@ def test_create_run_unicode() -> None:


@pytest.mark.parametrize("use_multipart_endpoint", (True, False))
def test_create_run_mutate(use_multipart_endpoint: bool) -> None:
def test_create_run_mutate(
use_multipart_endpoint: bool, monkeypatch: pytest.MonkeyPatch
) -> None:
if use_multipart_endpoint:
monkeypatch.setenv("LANGSMITH_FF_MULTIPART", "true")
# TODO remove this when removing FF
inputs = {"messages": ["hi"], "mygen": (i for i in range(10))}
session = mock.Mock()
session.request = mock.Mock()
Expand Down

0 comments on commit 2ceeebf

Please sign in to comment.