Skip to content

Commit

Permalink
Python: remove print statements from integration tests (valkey-io#1872)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-congo authored Jul 9, 2024
1 parent 2392cc4 commit ceffc52
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion python/python/tests/test_async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6861,7 +6861,6 @@ async def test_xinfo_stream(
)

result_full = await glide_client.xinfo_stream_full(key, count=1)
print(result_full)
assert result_full.get(b"length") == 2
entries = cast(list, result_full.get(b"entries"))
# only the first entry will be returned since we passed count=1
Expand Down
3 changes: 0 additions & 3 deletions python/python/tests/test_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,10 @@ async def test_cluster_scan_cleaning_cursor(self, glide_client: GlideClusterClie
ClusterScanCursor, (await glide_client.scan(ClusterScanCursor()))[0]
)
cursor_string = cursor.get_cursor()
print(cursor_string)
del cursor
new_cursor_with_same_id = ClusterScanCursor(cursor_string)
with pytest.raises(RequestError) as e_info:
await glide_client.scan(new_cursor_with_same_id)
print(new_cursor_with_same_id)
print(new_cursor_with_same_id.get_cursor())
assert "Invalid scan_state_cursor id" in str(e_info.value)

@pytest.mark.parametrize("cluster_mode", [True])
Expand Down

0 comments on commit ceffc52

Please sign in to comment.