Files
deb-python-gabbi/gabbi/tests/gabbits_runner/test_data.yaml
Chris Dent 398318ee17 Use the dirname of each runner testfile as the test_dir
When gabbi-run is passed one or more files, set the working
directory for the associated test suite as the directory of
each test file. Doing so ensures that `<@file` syntax in the
YAML has a fixed point from which to find the data files.

If data comes from STDIN then the test directory is '.' (as
it has always been).

Fixes #184
2016-11-27 14:34:17 +00:00

9 lines
145 B
YAML

tests:
- name: POST data from file
verbose: true
POST: /
request_headers:
content-type: application/json
data: <@subdir/sample.json