diff --git a/swh/core/db/tests/db_testing.py b/swh/core/db/tests/db_testing.py --- a/swh/core/db/tests/db_testing.py +++ b/swh/core/db/tests/db_testing.py @@ -42,7 +42,11 @@ try: r = subprocess.run( - cmd, check=True, stdout=subprocess.PIPE, universal_newlines=True + cmd, + check=True, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE, + universal_newlines=True, ) result = int(r.stdout.strip()) except Exception: # db not initialized