summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-02-28 15:12:21 +0200
committerLars Wirzenius <liw@liw.fi>2022-02-28 15:12:21 +0200
commit82458312b0cf51af113636c9fd535beb50988b06 (patch)
tree4c60f7a0cc8d8b9d1a36c9870c22b8bb5b533d4d
parenta830a4b3bb9d18858815908601b1191a7437c5aa (diff)
downloadhagrid-subplot-82458312b0cf51af113636c9fd535beb50988b06.tar.gz
dummy step functions
Sponsored-by: author
-rw-r--r--subplot.py18
-rw-r--r--subplot.yaml2
2 files changed, 19 insertions, 1 deletions
diff --git a/subplot.py b/subplot.py
new file mode 100644
index 0000000..850864d
--- /dev/null
+++ b/subplot.py
@@ -0,0 +1,18 @@
+def nop(ctx):
+ pass
+
+
+def get(ctx, path=None):
+ pass
+
+
+def status_code(ctx, code=None):
+ pass
+
+
+def has_header(ctx, header=None, value=None):
+ pass
+
+
+def body_matches_file(ctx, filename=None):
+ pass
diff --git a/subplot.yaml b/subplot.yaml
index 364d4bc..e85edf8 100644
--- a/subplot.yaml
+++ b/subplot.yaml
@@ -3,7 +3,7 @@
python:
function: nop
-- when: I make request GET /vks/v1/by-fingerprint/{fingerprint}
+- when: I make request GET {path}
impl:
python:
function: get