Skip to content

Commit d110668

Browse files
committed
Work in progress on acceptance test TestIsoScope.test_distributed_setup_teardown_coordination.
1 parent 6aa321d commit d110668

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/xdist/iso_scheduling_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def patch_system_under_test(
127127
@classmethod
128128
def revert_system_under_test(
129129
cls,
130-
teardown_context: DistributedTeardownContext)
130+
teardown_context: DistributedTeardownContext):
131131
# Fetch state from `teardown_context.client_dir` and revert
132132
# changes made by `patch_system_under_test()`.
133133

src/xdist/iso_scheduling_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def patch_system_under_test(
137137
@classmethod
138138
def revert_system_under_test(
139139
cls,
140-
teardown_context: DistributedTeardownContext)
140+
teardown_context: DistributedTeardownContext):
141141
# Fetch state from `teardown_context.client_dir` and revert
142142
# changes made by `patch_system_under_test()`.
143143

testing/acceptance_test.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,13 +1250,15 @@ def patch_system_under_test(
12501250
setup_context: DistributedSetupContext) -> None:
12511251
# Initialize the System Under Test for all the test cases in
12521252
# this test class and store state in `setup_context.client_dir`.
1253-
1253+
pass
1254+
12541255
@classmethod
12551256
def revert_system_under_test(
12561257
cls,
1257-
teardown_context: DistributedTeardownContext)
1258+
teardown_context: DistributedTeardownContext):
12581259
# Fetch state from `teardown_context.client_dir` and revert
12591260
# changes made by `patch_system_under_test()`.
1261+
pass
12601262
12611263
@pytest.mark.parametrize('i', range(5))
12621264
def test(self, i):

0 commit comments

Comments
 (0)