From 0f72e80f8eb89a536e21caf5ce49db85a9d06fd7 Mon Sep 17 00:00:00 2001 From: evilchili Date: Mon, 25 Mar 2024 23:12:30 -0700 Subject: [PATCH] test is always verbose --- src/poetry_slam/build_tool.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/poetry_slam/build_tool.py b/src/poetry_slam/build_tool.py index 2d6614c..e425675 100644 --- a/src/poetry_slam/build_tool.py +++ b/src/poetry_slam/build_tool.py @@ -70,7 +70,11 @@ class BuildTool: return 0 def test(self, args) -> bool: - return self._exec("pytest", *args) + old_v = self.verbose + self.verbose = True + returncode = self._exec("pytest", *args) + self.verbose = old_v + return returncode def build(self) -> bool: print("Formatting...")