diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2023-12-21 09:26:17 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2023-12-21 09:26:55 +0100 |
commit | 5b592f92ac15eddb33b48772b0d67869dd18d13e (patch) | |
tree | 490cabfe71f970d5ffe22b3626127bf5294b02dd /functest_kubernetes/cnf_conformance | |
parent | 4ae69f12bb36ed18d05a1b3387742497f492e004 (diff) |
Fix CNF TestSuite's log level
Change-Id: I9a7e1a9d17fd575b7e6077d8ccf5dd5d1a259717
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 75db5520f3fffc0e3b5cae2eead6179a44d91da9)
Diffstat (limited to 'functest_kubernetes/cnf_conformance')
-rw-r--r-- | functest_kubernetes/cnf_conformance/conformance.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/functest_kubernetes/cnf_conformance/conformance.py b/functest_kubernetes/cnf_conformance/conformance.py index 1b357d8d..a937ca49 100644 --- a/functest_kubernetes/cnf_conformance/conformance.py +++ b/functest_kubernetes/cnf_conformance/conformance.py @@ -60,7 +60,7 @@ class CNFConformance(testcase.TestCase): if os.path.exists(os.path.join(self.src_dir, "results")): shutil.rmtree(os.path.join(self.src_dir, "results")) os.chdir(self.src_dir) - cmd = ['cnf-testsuite', 'setup', '-l DEBUG'] + cmd = ['cnf-testsuite', 'setup', '-l', 'debug'] try: output = subprocess.check_output(cmd, stderr=subprocess.STDOUT) except subprocess.CalledProcessError as exc: @@ -71,7 +71,7 @@ class CNFConformance(testcase.TestCase): return False self.__logger.info("%s\n%s", " ".join(cmd), output.decode("utf-8")) cmd = ['cnf-testsuite', 'cnf_setup', - 'cnf-config=cnf-testsuite.yml', '-l DEBUG'] + 'cnf-config=cnf-testsuite.yml', '-l', 'debug'] try: output = subprocess.check_output(cmd, stderr=subprocess.STDOUT) except subprocess.CalledProcessError as exc: @@ -86,7 +86,7 @@ class CNFConformance(testcase.TestCase): def run_conformance(self, **kwargs): """Run CNF Conformance""" cmd = ['cnf-testsuite', kwargs.get("tag", self.default_tag), - '-l DEBUG'] + '-l', 'debug'] output = subprocess.run( cmd, stderr=subprocess.STDOUT, stdout=subprocess.PIPE, check=False).stdout |