Skip to content

Commit

Permalink
pytest: update to v4.2.1 - use xunit2 for compatibility with Jenkins
Browse files Browse the repository at this point in the history
- 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>
  • Loading branch information
thaJeztah committed Aug 10, 2019
1 parent c7240d4 commit 0b03a99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ addopts = --tb=short -rxs

junit_suite_name = docker-py
junit_logging = no
junit_family = xunit2
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0b03a99

Please sign in to comment.