diff --git a/pytest.ini b/pytest.ini index e306029d..c4aab5c8 100644 --- a/pytest.ini +++ b/pytest.ini @@ -6,6 +6,9 @@ addopts = --capture=no --ignore conftest.py -p no:cacheprovider # Ignore warnings such as DeprecationWarning and pytest.PytestUnknownMarkWarning filterwarnings = ignore::pytest.PytestWarning +# Configure the junit_family option explicitly: +junit_family = legacy + # Set pytest discovery rules: # (Most of the rules here are similar to the default rules.) # (unittest.TestCase rules override the rules here for classes and functions.) diff --git a/seleniumbase/console_scripts/sb_mkdir.py b/seleniumbase/console_scripts/sb_mkdir.py index 5085a4b4..982f504d 100755 --- a/seleniumbase/console_scripts/sb_mkdir.py +++ b/seleniumbase/console_scripts/sb_mkdir.py @@ -55,6 +55,7 @@ def main(): data.append("addopts = --capture=no --ignore conftest.py " "-p no:cacheprovider") data.append("filterwarnings = ignore::pytest.PytestWarning") + data.append("junit_family = legacy") data.append("python_files = test_*.py *_test.py *_tests.py *_suite.py") data.append("python_classes = Test* *Test* *Test *Tests *Suite") data.append("python_functions = test_*")