fix #64: when headers in test is None, it should inherit from config

This commit is contained in:
httprunner
2017-12-23 12:41:00 +08:00
parent 5fb87f00f6
commit 18fbffed87
4 changed files with 36 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
- config:
name: "bugfix testcases."
request:
base_url: http://127.0.0.1:5000
headers:
Content-Type: application/json
- test:
name: get headers from config
request:
url: /api/users/1000
method: GET
headers: