From e4398288579c27c1eb83a893a781301051e68930 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 5 Dec 2021 09:00:49 +0200 Subject: chore: add missing capture types for Subplot Subplot now checks that all embedded files in the markdown file are actually used by scenarios. To do this, it needs the scenario step bindings to declare that a captured part of the scenario step is the name of an embedded file. Add the couple of such type declarations that were missing in Obnam. Sponsored-by: author --- subplot/client.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/subplot/client.yaml b/subplot/client.yaml index ec41344..104f479 100644 --- a/subplot/client.yaml +++ b/subplot/client.yaml @@ -14,11 +14,15 @@ impl: python: function: configure_client_with_init + types: + filename: file - given: "a client config, without passphrase, based on {filename}" impl: python: function: configure_client_without_init + types: + filename: file - when: "I invoke obnam restore <{genid}> {todir}" impl: -- cgit v1.2.1