summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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