Forward the lab 4 foundation and migrate the lab 5 pipeline to SQLAlchemy
This commit is contained in:
@@ -77,18 +77,6 @@ async def test_queue_overflow_drops_events_without_raising() -> None:
|
||||
assert bus.pending <= 16
|
||||
|
||||
|
||||
async def test_projection_runs_before_publish_returns() -> None:
|
||||
bus = EventBus(NullLogger())
|
||||
seen: list[str] = []
|
||||
|
||||
async def projection(_event: MessagePosted) -> None:
|
||||
seen.append("projected")
|
||||
|
||||
bus.project(MessagePosted, projection)
|
||||
await InMemoryEventPublisher(bus).publish([posted()])
|
||||
assert seen == ["projected"]
|
||||
|
||||
|
||||
async def test_publication_does_not_delay_response() -> None:
|
||||
app = create_app(**split_settings(log_level="CRITICAL"))
|
||||
async with (
|
||||
|
||||
Reference in New Issue
Block a user