Forward the lab 4 foundation and migrate the lab 5 pipeline to SQLAlchemy
This commit is contained in:
@@ -17,7 +17,7 @@ from dishka import Provider, Scope, make_async_container, provide
|
||||
from dishka_faststream import setup_dishka
|
||||
from faststream.rabbit import Channel, RabbitBroker
|
||||
|
||||
from conftest import ROOT, STARTUP_SECONDS, container, image, published
|
||||
from conftest import ROOT, STARTUP_SECONDS, container, free_port, image, published
|
||||
from fakes import NullLogger
|
||||
from messenger.attachments.application.bus import AttachmentsCommandBus
|
||||
from messenger.attachments.application.commands import ProcessJob
|
||||
@@ -90,7 +90,7 @@ def rabbitmq() -> Iterator[dict[str, Any]]:
|
||||
"100:101",
|
||||
*volumes,
|
||||
"-p",
|
||||
"127.0.0.1::5672",
|
||||
f"127.0.0.1:{free_port()}:5672",
|
||||
image(RABBITMQ_IMAGE),
|
||||
)
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user