From a830a4b3bb9d18858815908601b1191a7437c5aa Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 28 Feb 2022 15:08:42 +0200 Subject: add bindings Sponsored-by: author --- subplot.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 subplot.yaml diff --git a/subplot.yaml b/subplot.yaml new file mode 100644 index 0000000..364d4bc --- /dev/null +++ b/subplot.yaml @@ -0,0 +1,24 @@ +- given: a running Hagrid system + impl: + python: + function: nop + +- when: I make request GET /vks/v1/by-fingerprint/{fingerprint} + impl: + python: + function: get + +- then: response HTTP status code is {code} + impl: + python: + function: status_code + +- then: "response has header {header}: {value}" + impl: + python: + function: has_header + +- then: response body matches file {filename} + impl: + python: + function: body_matches_file -- cgit v1.2.1