Skip to content

Commit 1f75c56

Browse files
committed
Work in progress on acceptance test TestIsoScope.test_distributed_setup_teardown_coordination.
1 parent 6942d44 commit 1f75c56

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

testing/acceptance_test.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,13 +1218,20 @@ def test_distributed_setup_teardown_coordination(
12181218
test_file = """
12191219
import pathlib
12201220
from uuid import uuid1
1221+
from typing import TYPE_CHECKING
12211222
import pytest
1223+
if TYPE_CHECKING:
1224+
from xdist.iso_scheduling_utils import (
1225+
IsoSchedulingFixture,
1226+
DistributedSetupContext,
1227+
DistributedTeardownContext
1228+
)
12221229
class TestScopeA:
12231230
@classmethod
12241231
@pytest.fixture(scope='class', autouse=True)
12251232
def distributed_setup_and_teardown(
12261233
cls,
1227-
iso_scheduling:
1234+
iso_scheduling: IsoSchedulingFixture
12281235
request: pytest.FixtureRequest):
12291236
with iso_scheduling.coordinate_setup_teardown(
12301237
setup_request=request) as coordinator:

0 commit comments

Comments
 (0)