From 4a128101e23f271ff2618643cec0a0f60cf88c91 Mon Sep 17 00:00:00 2001 From: Mitchell Hentges Date: Tue, 8 Mar 2022 15:32:06 +0000 Subject: [PATCH] Bug 1758204: `mozunit` should use `--tb=short` with pytest r=ahal This will decrease test output clutter while making it easier to identify and diagnose test failures. Differential Revision: https://phabricator.services.mozilla.com/D140421 --- config/mozunit/mozunit/mozunit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/config/mozunit/mozunit/mozunit.py b/config/mozunit/mozunit/mozunit.py index 270ef97260cc..97a73e23c369 100644 --- a/config/mozunit/mozunit/mozunit.py +++ b/config/mozunit/mozunit/mozunit.py @@ -317,6 +317,7 @@ def main(*args, **kwargs): "-c", os.path.join(here, "pytest.ini"), "-vv", + "--tb=short", "-p", "mozlog.pytest_mozlog.plugin", "-p",