-
-
- - name: bad body for admission control policy
- request:
- url: http://localhost:10000/a1-p/policytypes/20000/policies/admission_control_policy
- method: PUT
- json:
- not: "expected"
- headers:
- content-type: application/json
- response:
- status_code: 400
-
- - name: not a json
- request:
- url: http://localhost:10000/a1-p/policytypes/20000/policies/admission_control_policy
- method: PUT
- data: "asdf"
- response:
- status_code: 415
-
- - name: bad body for delaytest
- request:
- url: http://localhost:10000/a1-p/policytypes/20001/policies/delaytest
- method: PUT
- json:
- not: "welcome"
- response:
- status_code: 400