Skip to content

Commit

Permalink
tests: run docs tests first
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancetnik committed Aug 7, 2024
1 parent 741a22a commit 83fe454
Show file tree
Hide file tree
Showing 177 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from faststream import FastStream
from faststream.confluent import KafkaBroker

broker = KafkaBroker()
broker = KafkaBroker("localhost:9092")
app = FastStream(broker)


Expand All @@ -12,5 +12,5 @@ async def handle(msg: str):

@app.after_startup
async def test():
async with KafkaBroker() as br:
async with KafkaBroker("localhost:9092") as br:
await br.publish("Hi!", topic="test-confluent-topic")
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 83fe454

Please sign in to comment.