refactor: 重命名 automation worker 为 general worker 并完善错误处理
This commit is contained in:
@@ -5,13 +5,13 @@ import sys
|
||||
|
||||
import pytest
|
||||
|
||||
from core.taskiq.app import broker, worker_agent_broker, worker_automation_broker
|
||||
from core.taskiq.app import broker, worker_agent_broker, worker_general_broker
|
||||
|
||||
|
||||
def test_taskiq_broker_is_configured() -> None:
|
||||
assert broker is not None
|
||||
assert worker_agent_broker is broker
|
||||
assert worker_automation_broker is not None
|
||||
assert worker_general_broker is not None
|
||||
|
||||
|
||||
def test_taskiq_app_configures_logging_on_import(
|
||||
|
||||
Reference in New Issue
Block a user