Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ron-gal committed Jan 16, 2024
1 parent 989639e commit 3df1290
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit/test_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,7 @@ def mock_create_row_request(table_name, **kwargs):
"app_profile_id": app_profile_id,
"end_key": None,
"limit": None,
"reversed": None,
"start_key": None,
"filter_": filter_obj,
},
Expand Down Expand Up @@ -887,13 +888,15 @@ def mock_create_row_request(table_name, **kwargs):
end_key = b"end-key"
filter_obj = object()
limit = 22
reversed = True
with _Monkey(MUT, _create_row_request=mock_create_row_request):
result = table.read_rows(
start_key=start_key,
end_key=end_key,
filter_=filter_obj,
limit=limit,
retry=retry,
reversed=reversed,
)

assert result.rows == expected_result.rows
Expand All @@ -903,6 +906,7 @@ def mock_create_row_request(table_name, **kwargs):
"end_key": end_key,
"filter_": filter_obj,
"limit": limit,
"reversed": reversed,
"end_inclusive": False,
"app_profile_id": app_profile_id,
"row_set": None,
Expand Down

0 comments on commit 3df1290

Please sign in to comment.