Skip to content

Commit 19eceac

Browse files
karpetrosyanRobertCraigie
authored andcommitted
chore(internal): remove unnecessary wrapper around external snapshots
1 parent ac9ca4f commit 19eceac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/lib/tools/test_runners.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def get_weather(location: str, units: Literal["c", "f"]) -> BetaFunctionToolResu
287287
messages=[{"role": "user", "content": "What is the weather in SF?"}],
288288
stream=True,
289289
).until_done(),
290-
content_snapshot=snapshot(external("hash:cd8d3d185e7a*.json")),
290+
content_snapshot=external("hash:cd8d3d185e7a*.json"),
291291
path="/v1/messages",
292292
mock_client=client,
293293
respx_mock=respx_mock,
@@ -382,7 +382,7 @@ def accumulate_events(client: Anthropic) -> List[str]:
382382

383383
events = make_stream_snapshot_request(
384384
accumulate_events,
385-
content_snapshot=snapshot(external("uuid:9cb114c8-69bd-4111-841b-edee30333afd.json")),
385+
content_snapshot=external("uuid:9cb114c8-69bd-4111-841b-edee30333afd.json"),
386386
path="/v1/messages",
387387
mock_client=client,
388388
respx_mock=respx_mock,

0 commit comments

Comments
 (0)