Skip to content

Commit ad0f65a

Browse files
test: allow listing streams with start_after before prefix (#75)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Shikhar Bhushan <shikhar@s2.dev>
1 parent ee3e774 commit ad0f65a

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

tests/test_basin_ops.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -439,24 +439,6 @@ async def test_list_streams_with_start_after_returns_empty_page(
439439
except Exception:
440440
pass
441441

442-
async def test_list_streams_with_start_after_less_than_prefix_errors(
443-
self, shared_basin: S2Basin
444-
):
445-
basin = shared_basin
446-
base = uuid.uuid4().hex[:6]
447-
names = [f"{base}-a-a", f"{base}-a-b", f"{base}-b-a"]
448-
for name in names:
449-
await basin.create_stream(name=name)
450-
try:
451-
with pytest.raises(S2ServerError):
452-
await basin.list_streams(prefix=f"{base}-b", start_after=f"{base}-a")
453-
finally:
454-
for name in names:
455-
try:
456-
await basin.delete_stream(name)
457-
except Exception:
458-
pass
459-
460442
async def test_list_streams_with_limit_zero(
461443
self, shared_basin: S2Basin, stream_name: str
462444
):

0 commit comments

Comments
 (0)