Skip to content

Commit

Permalink
Fix numRows int -> str type because of ascii encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
bhirsz committed Nov 6, 2023
1 parent 6e2e799 commit ce260dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DatabaseLibrary/assertion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ce260dd

Please sign in to comment.