From d14889eb1df7f225daf53bd7978007590ba4c99c Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Thu, 30 Apr 2020 10:21:29 +0100 Subject: [PATCH] Tweak pytest settings to speed up test collection --- pytest.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pytest.ini b/pytest.ini index bdae991c888..dfda975aa1f 100644 --- a/pytest.ini +++ b/pytest.ini @@ -4,3 +4,7 @@ log_date_format=%H:%M:%S log_cli_format=%(asctime)s,%(msecs)03.0f [%(name)-5s:%(lineno)-4d][%(levelname)-8s][%(processName)s(%(process)s)] %(message)s log_file_format=%(asctime)s,%(msecs)03d [%(name)-17s:%(lineno)-4d][%(levelname)-8s][%(processName)s(%(process)d)] %(message)s norecursedirs=templates tests/kitchen tests/utils tests/support +testpaths=tests +python_files=test_*.py +python_classes=Test* +python_functions = test_*