summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-12-05 09:00:49 +0200
committerLars Wirzenius <liw@liw.fi>2021-12-05 09:00:49 +0200
commite4398288579c27c1eb83a893a781301051e68930 (patch)
treeec18f53fad6bfacf80d8bfdd0f29e4cb28bd2e04
parent1d082fd0485ee01561b39c82b25bfd8f8aaa1dc8 (diff)
downloadobnam2-e4398288579c27c1eb83a893a781301051e68930.tar.gz
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
-rw-r--r--subplot/client.yaml4
1 files changed, 4 insertions, 0 deletions
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: