Description: Do not print
 Without this patch, we're getting:
 .
  File "/<<PKGBUILDDIR>>/ironic/tests/unit/api/base.py", line 115, in _request_json
   print(method.upper(), full_path, "WITH", params, "GOT", str(response))
 BlockingIOError: [Errno 11] write could not complete without blocking
 .
 about 60 times (not always the same number of times...).
Author: Thomas Goirand <zigo@debian.org>
Forwarded: not-needed
Last-Update: 2023-10-05

Index: ironic/ironic/tests/unit/api/base.py
===================================================================
--- ironic.orig/ironic/tests/unit/api/base.py
+++ ironic/ironic/tests/unit/api/base.py
@@ -112,7 +112,7 @@ class BaseApiTest(db_base.DbTestCase):
             extra_environ=extra_environ,
             expect_errors=expect_errors
         )
-        print(method.upper(), full_path, "WITH", params, "GOT", str(response))
+#        print(method.upper(), full_path, "WITH", params, "GOT", str(response))
         return response
 
     def put_json(self, path, params, expect_errors=False, headers=None,
@@ -228,7 +228,8 @@ class BaseApiTest(db_base.DbTestCase):
                                 headers=headers,
                                 extra_environ=extra_environ,
                                 expect_errors=expect_errors)
-        print("GET", full_path, "WITH", params, "GOT", str(response))
+        # This breaks unit testing in Debian:
+        #print("GET", full_path, "WITH", params, "GOT", str(response))
         if not expect_errors:
             response = response.json
         return response
