Skip to content

Commit e2fd214

Browse files
authored
add comment with explanation
1 parent 0f71824 commit e2fd214

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package/tests/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ def history_element(image, lower_threshold_profile):
269269
def pytest_collection_modifyitems(session, config, items):
270270
image_tests = [x for x in items if "PartSegImage" in str(x.fspath)]
271271
core_tests = [x for x in items if "PartSegCore" in str(x.fspath)]
272+
# put test_analysis_batch after all other core test to
273+
# increase propability that more specyfic test will fail before
274+
# batch integration tests
272275
core_test_batch = [x for x in core_tests if "test_analysis_batch" in str(x.fspath)]
273276
core_tests_non_batch = [x for x in core_tests if x not in core_test_batch]
274277
core_tests = core_tests_non_batch + core_test_batch

0 commit comments

Comments
 (0)