【发布时间】:2019-08-16 05:52:51
【问题描述】:
使用 Tavern 并尝试针对此 yaml 运行 tavern-ci:
test_name: tavern poc
- name: list
request:
url: https://xxx.xxx.xxx.us/api/v3/institutions/
method: GET
response:
status_code: 200
headers:
content-type: application/json
save:
body:
content: content
我得到 E ScannerError: 此处不允许映射值 E 在“/Users/xxx/xxx/xxx/test_poc.tavern.yaml”中,第 3 行,第 9 列
已经尝试了这里介绍的许多解决方案(其中大部分是“在冒号后加一个空格”),但并不高兴。
Yamllint 给出了同样的错误...
【问题讨论】: