Fixes:
1) Crashes in runner and file_utils
2) Binary strings being read in as payloads
Updates:
1) Clarified error messages in parser
2) Confusing variable names in test cases vs issues
Adds:
1) A `syntribos root` CLI sub command to display the current syntribos root dir
Change-Id: I22edf7a1f3d39724522aee88d08b00d299b67248
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: Ia0c9884ea6c20553d2b4da8b0668b64b53ace41f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
- request() now returns tuple: (response, signals)
- all requests now use the same path (meaning they all get
logged/handled the same way)
- check for HTTP failure (i.e. exception from requestslib)
- check for bad HTTP status code
- check for HTTP content type header
- adds sphinx docstrings / documentation hooks
- adds unittests for HTTP checks
Change-Id: Ie508454eaff8ffcdf7ebea48ef451cb29d8adc67