summaryrefslogtreecommitdiff
path: root/subplot.md
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2021-10-19 19:43:28 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2021-11-19 20:19:00 +0000
commit73e7188b2397d1afb5c550cf8863157c9174a4e5 (patch)
treef33e7ed32bdda788a02940213e92fc28ef64aa7b /subplot.md
parent5a92266170ae9879b0651e6074e538a4de0a214c (diff)
downloadsubplot-73e7188b2397d1afb5c550cf8863157c9174a4e5.tar.gz
subplot.md: Fix up test cases to work with intermediate polyglot docs
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'subplot.md')
-rw-r--r--subplot.md14
1 files changed, 9 insertions, 5 deletions
diff --git a/subplot.md b/subplot.md
index 2d7d760..e2737f7 100644
--- a/subplot.md
+++ b/subplot.md
@@ -2400,6 +2400,7 @@ subplot metadata would extract this information from the **simple.md** example:
~~~
title: Test scenario
bindings: [b.yaml]
+template: python
functions: [f.py]
scenario Simple
~~~
@@ -2428,7 +2429,7 @@ and stdout contains "source: bar.bib"
and stdout contains "source: image.gif"
and stdout contains "bindings: b.yaml"
and stdout contains "bindings: other.yaml"
-and stdout contains "functions: f.py"
+and stdout contains "functions[python]: f.py"
when I run subplot metadata images.md -o json
then JSON output matches expected.json
~~~
@@ -2440,6 +2441,7 @@ title: Document refers to external images
bindings:
- b.yaml
- other.yaml
+template: python
functions:
- f.py
- other.py
@@ -2493,10 +2495,12 @@ bibliography: [foo.bib, bar.bib]
"b.yaml",
"other.yaml"
],
- "function_files": [
- "f.py",
- "other.py"
- ],
+ "impls": {
+ "python": [
+ "f.py",
+ "other.py"
+ ]
+ },
"bibliographies": [
"bar.bib",
"foo.bib"