From 82458312b0cf51af113636c9fd535beb50988b06 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 28 Feb 2022 15:12:21 +0200 Subject: dummy step functions Sponsored-by: author --- subplot.py | 18 ++++++++++++++++++ subplot.yaml | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 subplot.py 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 -- cgit v1.2.1