]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Silence pylint's refactoring suggestions for system_test_dir()
authorTom Krizek <tkrizek@isc.org>
Thu, 10 Aug 2023 14:53:10 +0000 (16:53 +0200)
committerTom Krizek <tkrizek@isc.org>
Mon, 21 Aug 2023 13:54:40 +0000 (15:54 +0200)
While it'd be fairly easy to split the function up into smaller ones,
the readability wouldn't be improved in this case. Silence the
suggestions instead.

bin/tests/system/conftest.py

index 63b992eb40d26ee9dad6a5deb75928ee1668787c..fcdc379c47c86bf530de6c42c9e4b27066d12562 100644 (file)
@@ -378,7 +378,9 @@ else:
         return logging.getLogger(f"{system_test_name}.{request.node.name}")
 
     @pytest.fixture(scope="module")
-    def system_test_dir(request, env, system_test_name, mlogger):
+    def system_test_dir(
+        request, env, system_test_name, mlogger
+    ):  # pylint: disable=too-many-statements,too-many-locals
         """
         Temporary directory for executing the test.