summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--subplot.yaml24
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