os.test.ListCmd: Add self.__write_raw_response - half done

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2023-12-03 14:59:19 +01:00
commit 1740f3c5c8

View file

@ -201,7 +201,6 @@ class ListCmd(TestCase): # export
self.total_timeout = total_timeout self.total_timeout = total_timeout
self.__decisive = None self.__decisive = None
self.__row_info = None self.__row_info = None
self.__write_raw_response = True
if write_response is not None: if write_response is not None:
self.__write_response = write_response self.__write_response = write_response
else: else:
@ -215,6 +214,7 @@ class ListCmd(TestCase): # export
self.__write_response = False self.__write_response = False
else: else:
raise Exception('Invalid value "{}" of environment variable "{}"'.format(val, key)) 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): def __read_rows(self, path, subject=None):
if isinstance(path, list): if isinstance(path, list):