chore: apply suggestion
Changed `add_background_task` to `add_behavior` and added extra docs.
This commit is contained in:
@@ -35,7 +35,7 @@ async def test_setup_bind(zmq_context, mocker):
|
||||
coro.close()
|
||||
|
||||
swallow = Swallow()
|
||||
agent.add_background_task = swallow
|
||||
agent.add_behavior = swallow
|
||||
|
||||
await agent.setup()
|
||||
|
||||
@@ -62,7 +62,7 @@ async def test_setup_connect(zmq_context, mocker):
|
||||
coro.close()
|
||||
|
||||
swallow = Swallow()
|
||||
agent.add_background_task = swallow
|
||||
agent.add_behavior = swallow
|
||||
|
||||
await agent.setup()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user