We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8f8c45 commit fbd9db8Copy full SHA for fbd9db8
datalab/tests/conftest.py
@@ -110,6 +110,8 @@ def pytest_report_header(config): # pylint: disable=unused-argument
110
111
def pytest_configure(config):
112
"""Add custom markers to pytest."""
113
+ if config.option.durations is None:
114
+ config.option.durations = 10 # Default to showing 10 slowest tests
115
config.addinivalue_line(
116
"markers",
117
"validation: mark a test as a validation test (ground truth or analytical)",
0 commit comments