Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
isahers1 committed Dec 20, 2024
1 parent 5d0a956 commit ee32603
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions python/tests/integration_tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,6 @@ def test_multipart_ingest_update_with_attachments(
langchain_client: Client, caplog: pytest.LogCaptureFixture
) -> None:
_session = "__test_multipart_ingest_update_with_attachments"

trace_a_id = uuid4()
current_time = datetime.datetime.now(datetime.timezone.utc).strftime(
"%Y%m%dT%H%M%S%fZ"
Expand All @@ -1193,7 +1192,6 @@ def test_multipart_ingest_update_with_attachments(
with caplog.at_level(logging.WARNING, logger="langsmith.client"):
langchain_client.multipart_ingest(create=runs_to_create, update=[])
assert not caplog.records
wait_for(lambda: _get_run(str(trace_a_id), langchain_client))

runs_to_update: list[dict] = [
{
Expand Down Expand Up @@ -1253,7 +1251,6 @@ def test_multipart_ingest_create_then_update(
langchain_client.multipart_ingest(create=runs_to_create, update=[])

assert not caplog.records
wait_for(lambda: _get_run(str(trace_a_id), langchain_client))

runs_to_update: list[dict] = [
{
Expand All @@ -1267,10 +1264,6 @@ def test_multipart_ingest_create_then_update(
langchain_client.multipart_ingest(create=[], update=runs_to_update)

assert not caplog.records
wait_for(lambda: _get_run(str(trace_a_id), langchain_client))

created_run = langchain_client.read_run(run_id=str(trace_a_id))
assert created_run.outputs == {"output1": 3, "output2": 4}


def test_multipart_ingest_update_then_create(
Expand Down

0 comments on commit ee32603

Please sign in to comment.