From 8b9cc175171b095169a048aa01b61b0be015b789 Mon Sep 17 00:00:00 2001 From: Ben Clifford Date: Thu, 7 Nov 2024 16:06:37 +0000 Subject: [PATCH] remove test of the removed functionality --- parsl/tests/test_channels/test_dfk_close.py | 26 --------------------- 1 file changed, 26 deletions(-) delete mode 100644 parsl/tests/test_channels/test_dfk_close.py diff --git a/parsl/tests/test_channels/test_dfk_close.py b/parsl/tests/test_channels/test_dfk_close.py deleted file mode 100644 index 05b2e9395f..0000000000 --- a/parsl/tests/test_channels/test_dfk_close.py +++ /dev/null @@ -1,26 +0,0 @@ -from unittest.mock import Mock - -import pytest - -import parsl -from parsl.channels.base import Channel -from parsl.executors import HighThroughputExecutor -from parsl.providers import LocalProvider - - -@pytest.mark.local -def test_dfk_close(): - - mock_channel = Mock(spec=Channel) - - # block settings all 0 because the mock channel won't be able to - # do anything to make a block exist - p = LocalProvider(channel=mock_channel, init_blocks=0, min_blocks=0, max_blocks=0) - - e = HighThroughputExecutor(provider=p) - - c = parsl.Config(executors=[e]) - with parsl.load(c): - pass - - assert mock_channel.close.called