Update to Xtesting 0.82 50/68850/3
authorCédric Ollivier <cedric.ollivier@orange.com>
Sun, 10 Nov 2019 08:19:13 +0000 (09:19 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sun, 10 Nov 2019 18:38:54 +0000 (19:38 +0100)
It overrides the default log files.

Change-Id: I6a1f9951b47b761e4e1832140181a57dd886117c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 63b56cf0740fd5e2e0b7b022e287b27ddb898dee)

functest_kubernetes/k8stest.py
tox.ini

index 132cfb0..09dc50e 100644 (file)
@@ -25,6 +25,7 @@ from xtesting.core import testcase
 
 class K8sTesting(testcase.TestCase):
     """Kubernetes test runner"""
+    # pylint: disable=too-many-instance-attributes
 
     __logger = logging.getLogger(__name__)
 
@@ -38,6 +39,8 @@ class K8sTesting(testcase.TestCase):
         self.result = 0
         self.start_time = 0
         self.stop_time = 0
+        self.output_log_name = 'functest-kubernetes.log'
+        self.output_debug_log_name = 'functest-kubernetes.debug.log'
 
     def run_kubetest(self):  # pylint: disable=too-many-branches
         """Run the test suites"""
diff --git a/tox.ini b/tox.ini
index e3297fc..9aa8415 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -23,7 +23,7 @@ commands = flake8
 
 [testenv:pylint]
 basepython = python2.7
-commands = pylint --disable=locally-disabled --reports=n functest_kubernetes
+commands = pylint --disable=locally-disabled,super-on-old-class --reports=n functest_kubernetes
 
 [testenv:yamllint]
 basepython = python2.7