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.
Files changed (46) hide show
  1. {robotframework_pabot-4.3.1/src/robotframework_pabot.egg-info → robotframework_pabot-4.3.2}/PKG-INFO +1 -1
  2. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/__init__.py +1 -1
  3. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/pabot.py +9 -6
  4. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2/src/robotframework_pabot.egg-info}/PKG-INFO +1 -1
  5. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_ordering.py +4 -4
  6. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/LICENSE.txt +0 -0
  7. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/MANIFEST.in +0 -0
  8. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/README.md +0 -0
  9. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/pyproject.toml +0 -0
  10. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/setup.cfg +0 -0
  11. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/setup.py +0 -0
  12. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/SharedLibrary.py +0 -0
  13. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/arguments.py +0 -0
  14. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/clientwrapper.py +0 -0
  15. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/coordinatorwrapper.py +0 -0
  16. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/execution_items.py +0 -0
  17. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/pabotlib.py +0 -0
  18. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/py3/__init__.py +0 -0
  19. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/py3/client.py +0 -0
  20. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/py3/coordinator.py +0 -0
  21. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/py3/messages.py +0 -0
  22. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/py3/worker.py +0 -0
  23. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/result_merger.py +0 -0
  24. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/robotremoteserver.py +0 -0
  25. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/pabot/workerwrapper.py +0 -0
  26. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/robotframework_pabot.egg-info/SOURCES.txt +0 -0
  27. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/robotframework_pabot.egg-info/dependency_links.txt +0 -0
  28. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/robotframework_pabot.egg-info/entry_points.txt +0 -0
  29. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/robotframework_pabot.egg-info/requires.txt +0 -0
  30. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/src/robotframework_pabot.egg-info/top_level.txt +0 -0
  31. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_arguments_output.py +0 -0
  32. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_basic_arguments.py +0 -0
  33. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_depends.py +0 -0
  34. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_functional.py +0 -0
  35. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_missing_subprocess_output.py +0 -0
  36. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_pabot.py +0 -0
  37. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_pabotlib.py +0 -0
  38. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_pabotprerunmodifier.py +0 -0
  39. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_pabotsuitenames_io.py +0 -0
  40. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_prerunmodifier.py +0 -0
  41. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_resultmerger.py +0 -0
  42. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_run_empty_suite.py +0 -0
  43. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_stacktrace.py +0 -0
  44. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_suite_structure.py +0 -0
  45. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_testlevelsplit_include.py +0 -0
  46. {robotframework_pabot-4.3.1 → robotframework_pabot-4.3.2}/tests/test_testlevelsplit_output_task_order.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robotframework-pabot
3
- Version: 4.3.1
3
+ Version: 4.3.2
4
4
  Summary: Parallel test runner for Robot Framework
5
5
  Home-page: https://pabot.org
6
6
  Download-URL: https://pypi.python.org/pypi/robotframework-pabot
@@ -7,4 +7,4 @@ try:
7
7
  except ImportError:
8
8
  pass
9
9
 
10
- __version__ = "4.3.1"
10
+ __version__ = "4.3.2"
@@ -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
- number_of_tests_or_suites = 0
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
- raise DataError("%s item '%s' in --ordering file does not match suite or test names in .pabotsuitenames file.\nPlease verify content of --ordering file." % (item.type.title(), item.name))
2137
- number_of_tests_or_suites += 1
2138
- if number_of_tests_or_suites > len(list_of_suite_names):
2139
- raise DataError('Ordering file contains more tests and/or suites than exists. Check that there is no duplicates etc. in ordering file and that to .pabotsuitenames.')
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
- _check_ordering(ordering_arg, suite_names)
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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robotframework-pabot
3
- Version: 4.3.1
3
+ Version: 4.3.2
4
4
  Summary: Parallel test runner for Robot Framework
5
5
  Home-page: https://pabot.org
6
6
  Download-URL: https://pypi.python.org/pypi/robotframework-pabot
@@ -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 test_sequential_suite_execution_invalid_name(self):
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 test_ordering_file_contains_not_existing_test(self):
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 test_ordering_file_contains_not_existing_default_item(self):
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 test_ordering_file_contains_too_many_runnable_items(self):
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
  """