From: Ian Jackson Date: Sat, 27 Feb 2021 20:42:58 +0000 (+0000) Subject: hidden test: Claim a hand repository X-Git-Tag: otter-0.4.0~295 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=98e41932b0ae416fd84aeffc94c0b225fdb636e0;p=otter.git hidden test: Claim a hand repository Signed-off-by: Ian Jackson --- 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)?; } }