From ce260ddceb146bc33eb5582add0b8764e77c8d0c Mon Sep 17 00:00:00 2001 From: Bartlomiej Hirsz Date: Mon, 6 Nov 2023 10:12:02 +0100 Subject: [PATCH] Fix numRows int -> str type because of ascii encoding --- src/DatabaseLibrary/assertion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DatabaseLibrary/assertion.py b/src/DatabaseLibrary/assertion.py index 824742e..185c2ba 100644 --- a/src/DatabaseLibrary/assertion.py +++ b/src/DatabaseLibrary/assertion.py @@ -148,7 +148,7 @@ def row_count_is_equal_to_x( ) def row_count_is_greater_than_x( - self, selectStatement: str, numRows: int, sansTran: bool = False, msg: Optional[str] = None + self, selectStatement: str, numRows: str, sansTran: bool = False, msg: Optional[str] = None ): """ Check if the number of rows returned from `selectStatement` is greater than the value submitted. If not, then @@ -182,7 +182,7 @@ def row_count_is_greater_than_x( ) def row_count_is_less_than_x( - self, selectStatement: str, numRows: int, sansTran: bool = False, msg: Optional[str] = None + self, selectStatement: str, numRows: str, sansTran: bool = False, msg: Optional[str] = None ): """ Check if the number of rows returned from `selectStatement` is less than the value submitted. If not, then this