pytest: update to v4.2.1 - use xunit2 for compatibility with Jenkins

- pytest-dev/pytest#3547: `--junitxml` can emit XML compatible with Jenkins
  xUnit. `junit_family` INI option accepts `legacy|xunit1`, which produces
  old style output, and `xunit2` that conforms more strictly to
  https://github.com/jenkinsci/xunit-plugin/blob/xunit-2.3.2/src/main/resources/org/jenkinsci/plugins/xunit/types/model/xsd/junit-10.xsd

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-08-10 19:04:54 +02:00
parent 7b22b14715
commit 9ea3da37a7
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
2 changed files with 2 additions and 1 deletions

View File

@ -2,3 +2,4 @@
addopts = --tb=short -rxs
junit_suite_name = docker-py
junit_family = xunit2

View File

@ -1,6 +1,6 @@
coverage==4.5.2
flake8==3.6.0
mock==1.0.1
pytest==4.1.0
pytest==4.2.1
pytest-cov==2.6.1
pytest-timeout==1.3.3