Skip to content

Commit 7452015

Browse files
committed
Configure the junit_family option explicitly in pytest.ini
1 parent 6f765fb commit 7452015

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pytest.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ addopts = --capture=no --ignore conftest.py -p no:cacheprovider
66
# Ignore warnings such as DeprecationWarning and pytest.PytestUnknownMarkWarning
77
filterwarnings = ignore::pytest.PytestWarning
88

9+
# Configure the junit_family option explicitly:
10+
junit_family = legacy
11+
912
# Set pytest discovery rules:
1013
# (Most of the rules here are similar to the default rules.)
1114
# (unittest.TestCase rules override the rules here for classes and functions.)

seleniumbase/console_scripts/sb_mkdir.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def main():
5555
data.append("addopts = --capture=no --ignore conftest.py "
5656
"-p no:cacheprovider")
5757
data.append("filterwarnings = ignore::pytest.PytestWarning")
58+
data.append("junit_family = legacy")
5859
data.append("python_files = test_*.py *_test.py *_tests.py *_suite.py")
5960
data.append("python_classes = Test* *Test* *Test *Tests *Suite")
6061
data.append("python_functions = test_*")

0 commit comments

Comments
 (0)