From 1740f3c5c8b448a1df37f6ef6684f7071894bc91 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sun, 3 Dec 2023 14:59:19 +0100 Subject: [PATCH] os.test.ListCmd: Add self.__write_raw_response - half done Signed-off-by: Jan Lindemann --- src/python/devtest/os/test/ListCmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/devtest/os/test/ListCmd.py b/src/python/devtest/os/test/ListCmd.py index 8e337f1..7118f4d 100644 --- a/src/python/devtest/os/test/ListCmd.py +++ b/src/python/devtest/os/test/ListCmd.py @@ -201,7 +201,6 @@ class ListCmd(TestCase): # export self.total_timeout = total_timeout self.__decisive = None self.__row_info = None - self.__write_raw_response = True if write_response is not None: self.__write_response = write_response else: @@ -215,6 +214,7 @@ class ListCmd(TestCase): # export self.__write_response = False else: raise Exception('Invalid value "{}" of environment variable "{}"'.format(val, key)) + self.__write_raw_response = self.__write_response # TODO: make these two independent def __read_rows(self, path, subject=None): if isinstance(path, list):