diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-02-28 15:08:42 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-02-28 15:08:42 +0200 |
commit | a830a4b3bb9d18858815908601b1191a7437c5aa (patch) | |
tree | 351fc530b5b4cbac1349a21e8d13482ed0992ee2 | |
parent | 3934f92eff684c2cc8004e444e30b9bccb30fb08 (diff) | |
download | hagrid-subplot-a830a4b3bb9d18858815908601b1191a7437c5aa.tar.gz |
add bindings
Sponsored-by: author
-rw-r--r-- | subplot.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
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 |