From 4b9ed56f4ef04f0e54c5ba1a251abfe477274562 Mon Sep 17 00:00:00 2001 From: Simone Lazzaris Date: Fri, 27 Oct 2023 15:36:56 +0200 Subject: [PATCH] fix: removed UnknownFields call which is not implemented --- tests/immuTestClient.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/immuTestClient.py b/tests/immuTestClient.py index 70dba70..551ae3b 100644 --- a/tests/immuTestClient.py +++ b/tests/immuTestClient.py @@ -52,8 +52,7 @@ def executeWithTransaction(self, concatenatedParams: dict, queries: List[str], s toExecute.append(self.transactionEnd) multiLineQuery = separator.join(toExecute) resp = self.client.sqlExec(multiLineQuery, concatenatedParams) - assert((len(resp.txs) > 0 and not resp.ongoingTx and not resp.UnknownFields()) - or len(resp.UnknownFields()) > 0) + assert(len(resp.txs) > 0 and not resp.ongoingTx) return resp def _generateTableName(self): @@ -104,8 +103,7 @@ def insertToTable(self, table: str, fields: List[str], values: List, params: dic return self.currentTx.sqlExec(preparedQuery, params) resp = self.client.sqlExec(preparedQuery, params) - assert((len(resp.txs) > 0 and not resp.ongoingTx and not resp.UnknownFields()) - or len(resp.UnknownFields()) > 0) + assert(len(resp.txs) > 0 and not resp.ongoingTx) return resp def simpleSelect(self, fromWhat: str, whatToSelect: List[str], params: dict, *conditions: List[str], columnNameMode = constants.COLUMN_NAME_MODE_NONE):