tests: limit printed durations to 50

This commit is contained in:
David de la Iglesia Castro
2022-07-11 12:36:37 +03:00
committed by Ruslan Kuprieiev
parent d8be68436f
commit d47e3c40b8
+1 -1
View File
@@ -14,7 +14,7 @@ os.putenv(
)
os.putenv("DVC_HOME", REPO_ROOT)
opts = "-v -n=auto --dist loadscope --cov=dvc --durations=0"
opts = "-v -n=auto --dist loadscope --cov=dvc --durations=50"
params = " ".join(sys.argv[1:])
cmd = f"{sys.executable} -m pytest {opts} {params}"
check_call(cmd, shell=True)