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):