Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(media): reformat artifact lookup in e2e test

Steven Enamakele6a9f3609a88
diff --git a/tests/media_generation_e2e.rs b/tests/media_generation_e2e.rs
index 40229cfddf..c823b843a5 100644
--- a/tests/media_generation_e2e.rs
+++ b/tests/media_generation_e2e.rs
@@ -297,13 +297,10 @@ async fn media_tools_deliver_images_and_videos_through_the_backend_proxy() {
"blob-backed generation must not leave a filesystem staging directory"
);
for (id, kind) in [(&image_id, "image"), (&video_id, "video")] {
- let record = openhuman_core::artifacts::ops::ai_get_artifact(
- &config,
- id,
- )
- .await
- .expect("filed artifact record")
- .value;
+ let record = openhuman_core::artifacts::ops::ai_get_artifact(&config, id)
+ .await
+ .expect("filed artifact record")
+ .value;
assert_eq!(record["kind"], kind);
assert_eq!(record["status"], "ready");
let path = std::path::Path::new(