From 98e41932b0ae416fd84aeffc94c0b225fdb636e0 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 27 Feb 2021 20:42:58 +0000 Subject: [PATCH] hidden test: Claim a hand repository Signed-off-by: Ian Jackson --- apitest/at-otter.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apitest/at-otter.rs b/apitest/at-otter.rs index c04cf2bd..3e91ec7b 100644 --- a/apitest/at-otter.rs +++ b/apitest/at-otter.rs @@ -335,6 +335,11 @@ impl Ctx { .into_inner().unwrap(); dbg!(&hand); + session.api_piece_op(&self.su, &hand.id, "k", json!({ + "opname": "claim", + "wrc": "Unpredictable", + }))?; + session.synch(&mut self.su)?; } } -- 2.30.2