robotframework-pabot 4.3.1__tar.gz → 4.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {robotframework_pabot-4.3.1/src/robotframework_pabot.egg-info → robotframework_pabot-4.3.2}/PKG-INFO +1 -1
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/__init__.py +1 -1
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/pabot.py +9 -6
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2/src/robotframework_pabot.egg-info}/PKG-INFO +1 -1
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_ordering.py +4 -4
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/LICENSE.txt +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/MANIFEST.in +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/README.md +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/pyproject.toml +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/setup.cfg +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/setup.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/SharedLibrary.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/arguments.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/clientwrapper.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/coordinatorwrapper.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/execution_items.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/pabotlib.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/py3/__init__.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/py3/client.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/py3/coordinator.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/py3/messages.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/py3/worker.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/result_merger.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/robotremoteserver.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/workerwrapper.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/robotframework_pabot.egg-info/SOURCES.txt +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/robotframework_pabot.egg-info/dependency_links.txt +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/robotframework_pabot.egg-info/entry_points.txt +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/robotframework_pabot.egg-info/requires.txt +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/robotframework_pabot.egg-info/top_level.txt +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_arguments_output.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_basic_arguments.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_depends.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_functional.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_missing_subprocess_output.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_pabot.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_pabotlib.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_pabotprerunmodifier.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_pabotsuitenames_io.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_prerunmodifier.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_resultmerger.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_run_empty_suite.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_stacktrace.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_suite_structure.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_testlevelsplit_include.py +0 -0
- {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_testlevelsplit_output_task_order.py +0 -0
|
@@ -2122,9 +2122,10 @@ def _parse_ordering(filename): # type: (str) -> List[ExecutionItem]
|
|
|
2122
2122
|
raise DataError("Error parsing ordering file '%s'" % filename)
|
|
2123
2123
|
|
|
2124
2124
|
|
|
2125
|
+
# TODO: After issue #646, it seems necessary to thoroughly rethink how this functionality should work.
|
|
2125
2126
|
def _check_ordering(ordering_file, suite_names): # type: (List[ExecutionItem], List[ExecutionItem]) -> None
|
|
2126
2127
|
list_of_suite_names = [s.name for s in suite_names]
|
|
2127
|
-
|
|
2128
|
+
skipped_runnable_items = []
|
|
2128
2129
|
if ordering_file:
|
|
2129
2130
|
for item in ordering_file:
|
|
2130
2131
|
if item.type in ['suite', 'test']:
|
|
@@ -2133,10 +2134,11 @@ def _check_ordering(ordering_file, suite_names): # type: (List[ExecutionItem],
|
|
|
2133
2134
|
# Additionally, the test is skipped also if the user wants a higher-level suite to be executed sequentially by using
|
|
2134
2135
|
# the --suite option, and the given name is part of the full name of any test or suite.
|
|
2135
2136
|
if item.name != ' Invalid' and not (item.type == 'suite' and any((s == item.name or s.startswith(item.name + ".")) for s in list_of_suite_names)):
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2137
|
+
skipped_runnable_items.append(f"{item.type.title()} item: '{item.name}'")
|
|
2138
|
+
if skipped_runnable_items:
|
|
2139
|
+
_write("Note: The ordering file contains test or suite items that are not included in the current test run. The following items will be ignored/skipped:")
|
|
2140
|
+
for item in skipped_runnable_items:
|
|
2141
|
+
_write(f" - {item}")
|
|
2140
2142
|
|
|
2141
2143
|
|
|
2142
2144
|
def _group_suites(outs_dir, datasources, options, pabot_args):
|
|
@@ -2145,7 +2147,8 @@ def _group_suites(outs_dir, datasources, options, pabot_args):
|
|
|
2145
2147
|
ordering_arg = _parse_ordering(pabot_args.get("ordering")) if (pabot_args.get("ordering")) is not None else None
|
|
2146
2148
|
if ordering_arg:
|
|
2147
2149
|
_verify_depends(ordering_arg)
|
|
2148
|
-
|
|
2150
|
+
# TODO: After issue #646, it seems necessary to thoroughly rethink how this functionality should work.
|
|
2151
|
+
#_check_ordering(ordering_arg, suite_names)
|
|
2149
2152
|
ordering_arg_with_sleep = _set_sleep_times(ordering_arg)
|
|
2150
2153
|
ordered_suites = _preserve_order(suite_names, ordering_arg_with_sleep)
|
|
2151
2154
|
shard_suites = solve_shard_suites(ordered_suites, pabot_args)
|
|
@@ -91,7 +91,7 @@ class PabotOrderingGroupTest(unittest.TestCase):
|
|
|
91
91
|
self.assertNotIn(b"FAILED", stdout, stderr)
|
|
92
92
|
self.assertEqual(stdout.count(b"PASSED"), 2)
|
|
93
93
|
|
|
94
|
-
def
|
|
94
|
+
def NOT_VALID_test_sequential_suite_execution_invalid_name(self):
|
|
95
95
|
stdout, stderr = self._run_tests_with(
|
|
96
96
|
"""
|
|
97
97
|
*** Variables ***
|
|
@@ -436,7 +436,7 @@ class PabotOrderingMalformedTest(unittest.TestCase):
|
|
|
436
436
|
)
|
|
437
437
|
return process.communicate()
|
|
438
438
|
|
|
439
|
-
def
|
|
439
|
+
def NOT_VALID_test_ordering_file_contains_not_existing_test(self):
|
|
440
440
|
stdout, stderr = self._run_tests_with(
|
|
441
441
|
"""
|
|
442
442
|
*** Test Cases ***
|
|
@@ -461,7 +461,7 @@ class PabotOrderingMalformedTest(unittest.TestCase):
|
|
|
461
461
|
)
|
|
462
462
|
self.assertIn(b"Test item 'Test.Test Case E' in --ordering file does not match suite or test names in .pabotsuitenames file.", stdout, stderr)
|
|
463
463
|
|
|
464
|
-
def
|
|
464
|
+
def NOT_VALID_test_ordering_file_contains_not_existing_default_item(self):
|
|
465
465
|
# Default item is suite
|
|
466
466
|
stdout, stderr = self._run_tests_with(
|
|
467
467
|
"""
|
|
@@ -514,7 +514,7 @@ class PabotOrderingMalformedTest(unittest.TestCase):
|
|
|
514
514
|
)
|
|
515
515
|
self.assertIn(b"Suite or test name cannot be empty and then contain #DEPENDS like: #DEPENDS Test.Test Case D", stdout, stderr)
|
|
516
516
|
|
|
517
|
-
def
|
|
517
|
+
def NOT_VALID_test_ordering_file_contains_too_many_runnable_items(self):
|
|
518
518
|
# Default item is suite
|
|
519
519
|
stdout, stderr = self._run_tests_with(
|
|
520
520
|
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_missing_subprocess_output.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_testlevelsplit_include.py
RENAMED
|
File without changes
|
|
File without changes
|