Skip to content

Commit

Permalink
even more tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
AlyssaCote committed Oct 29, 2024
1 parent 616d816 commit 29fe4c3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/dragon_wlm/test_request_dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
from smartsim._core.mli.comm.channel.dragon_channel import DragonCommChannel
from smartsim._core.mli.comm.channel.dragon_fli import DragonFLIChannel
from smartsim._core.mli.comm.channel.dragon_util import create_local
from smartsim._core.mli.infrastructure.control.dragon_util import (
function_as_dragon_proc,
)
from smartsim._core.mli.infrastructure.control.request_dispatcher import (
RequestBatch,
RequestDispatcher,
Expand All @@ -72,9 +75,8 @@
from smartsim._core.mli.message_handler import MessageHandler
from smartsim.log import get_logger

from . import conftest
from .utils import msg_pump
from .utils.channel import FileSystemCommChannel
from tests.dragon_wlm.utils.msg_pump import mock_messages
from tests.dragon_wlm.utils.channel import FileSystemCommChannel

logger = get_logger(__name__)

Expand Down Expand Up @@ -148,8 +150,8 @@ def test_request_dispatcher(
callback_channel = DragonCommChannel.from_local()
channels.append(callback_channel)

process = conftest.function_as_dragon_proc(
msg_pump.mock_messages,
process = function_as_dragon_proc(
mock_messages,
[
worker_queue.descriptor,
backbone_fs.descriptor,
Expand Down

0 comments on commit 29fe4c3

Please sign in to comment.