Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus29200 committed Aug 11, 2023
1 parent 9589d08 commit 9a9fe49
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/acceptance/test_pubsub.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ async def noop_ng(data: Foo):
raise Exception("Unhandled Exception")

async with app:
await app.publish(stream_id, Foo(bar=1))
await app.publish(stream_id, Foo(bar=1))
await app.publish(stream_id, Foo(bar="1"))
await app.publish(stream_id, Foo(bar="1"))
await app.flush()

# it fails
Expand All @@ -311,7 +311,7 @@ async def noop_ok(data: Foo):
probe("ok", data)

async with app:
await app.publish(stream_id, Foo(bar=2))
await app.publish(stream_id, Foo(bar="2"))
await app.flush()

await app.consume_for(3, seconds=10)
Expand Down Expand Up @@ -351,8 +351,8 @@ async def noop(data: Foo):
probe(data)

async with app:
await app.publish(stream_id, Foo(bar=1))
await app.publish(stream_id, Foo(bar=2))
await app.publish(stream_id, Foo(bar="1"))
await app.publish(stream_id, Foo(bar="2"))
await app.flush()

await app.consume_for(2, seconds=5)
Expand Down

0 comments on commit 9a9fe49

Please sign in to comment.