Skip to content

Commit 9ea3da3

Browse files
committed
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 <[email protected]>
1 parent 7b22b14 commit 9ea3da3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pytest.ini

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
addopts = --tb=short -rxs
33

44
junit_suite_name = docker-py
5+
junit_family = xunit2

test-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
coverage==4.5.2
22
flake8==3.6.0
33
mock==1.0.1
4-
pytest==4.1.0
4+
pytest==4.2.1
55
pytest-cov==2.6.1
66
pytest-timeout==1.3.3

0 commit comments

Comments
 (0)