testbench2robotframework 0.9.1a2__tar.gz → 0.9.1a3__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 (59) hide show
  1. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/PKG-INFO +1 -1
  2. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench2robotframework/__init__.py +1 -1
  3. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench2robotframework/config.py +2 -0
  4. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench2robotframework/utils.py +1 -1
  5. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/.gitignore +0 -0
  6. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/CreatePiPWheel.bat +0 -0
  7. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/CreatePiPWheel.sh +0 -0
  8. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/DEVELOPMENT.md +0 -0
  9. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/ExampleConfiguration/json_config.json +0 -0
  10. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/ExampleConfiguration/pyproject_example.toml +0 -0
  11. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/ExampleConfiguration/toml_config.toml +0 -0
  12. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/LICENSE +0 -0
  13. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/MANIFEST.in +0 -0
  14. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/README.md +0 -0
  15. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/README_old.md +0 -0
  16. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/atest/json_config_tests/1_tfs.robot +0 -0
  17. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/atest/robot/libs/json_config.py +0 -0
  18. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/atest/robot/libs/pyproject_config.py +0 -0
  19. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/atest/robot/resources/file_management.resource +0 -0
  20. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/atest/robot/resources/testbench2robotframework_cli.resource +0 -0
  21. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/atest/robot/rf_tests/cli_interface/write/json_config.robot +0 -0
  22. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/atest/robot/rf_tests/cli_interface/write/no_config_argument.robot +0 -0
  23. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/atest/robot/rf_tests/cli_interface/write/toml_config.robot +0 -0
  24. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/create_json_schema.py +0 -0
  25. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/images/LibrarySubdivision.PNG +0 -0
  26. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/images/Unbenannt.PNG +0 -0
  27. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/images/generated.png +0 -0
  28. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/images/libraries.PNG +0 -0
  29. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/images/resources.PNG +0 -0
  30. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/images/rfLibraryRootsTestBench.PNG +0 -0
  31. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/images/testbench_rfLibraryRegex.PNG +0 -0
  32. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/images/testbench_rfResourceRegex.PNG +0 -0
  33. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/images/testthemen.PNG +0 -0
  34. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/oldModel.py +0 -0
  35. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/pydantic_model.py +0 -0
  36. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/pyproject.toml +0 -0
  37. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/requirements.txt +0 -0
  38. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/robot.toml +0 -0
  39. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/tasks.py +0 -0
  40. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench-tools.zip +0 -0
  41. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench2robotframework/__main__.py +0 -0
  42. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench2robotframework/cli.py +0 -0
  43. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench2robotframework/execution_artifacts.py +0 -0
  44. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench2robotframework/html_parser.py +0 -0
  45. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench2robotframework/json_reader.py +0 -0
  46. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench2robotframework/json_writer.py +0 -0
  47. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench2robotframework/log.py +0 -0
  48. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench2robotframework/model.py +0 -0
  49. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench2robotframework/model_utils.py +0 -0
  50. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench2robotframework/result_writer.py +0 -0
  51. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench2robotframework/robotframework2testbench.py +0 -0
  52. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench2robotframework/testbench2rf.py +0 -0
  53. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench2robotframework/testbench2robotframework.py +0 -0
  54. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/testbench2robotframework/testsuite_write.py +0 -0
  55. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/tests/test_data/configurations/invalid_config.json +0 -0
  56. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/tests/test_data/configurations/valid_config.json +0 -0
  57. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/tests/test_missing_files.py +0 -0
  58. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/tests/test_robot_files_should_not_contain_invalid_characters.py +0 -0
  59. {testbench2robotframework-0.9.1a2 → testbench2robotframework-0.9.1a3}/tests/test_zip_file_generation.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testbench2robotframework
3
- Version: 0.9.1a2
3
+ Version: 0.9.1a3
4
4
  Summary: Robot Framework Code Generator from Keyword-Driven Tests in imbus TestBench 3.0 and newer
5
5
  Author-email: imbus AG <support@imbus.de>
6
6
  Requires-Python: >= 3.10
@@ -17,4 +17,4 @@ suites and enhancing the TestBench report with execution results from Robot Fram
17
17
 
18
18
  from .testbench2robotframework import testbench2robotframework # noqa: F401
19
19
 
20
- __version__ = "0.9.1a2"
20
+ __version__ = "0.9.1a3"
@@ -60,6 +60,8 @@ def find_private_robot_toml() -> Path:
60
60
 
61
61
 
62
62
  def get_testbench2robotframework_toml_dict(toml_path: Path):
63
+ if not toml_path or not toml_path.is_file():
64
+ return {}
63
65
  try:
64
66
  with Path(toml_path).open("rb") as toml_file:
65
67
  toml_dict = tomllib.load(toml_file)
@@ -88,7 +88,7 @@ class PathResolver:
88
88
  self.tt_catalog[tse.base.uniqueID] = tse
89
89
 
90
90
  def _file_prefix(self, tse) -> str:
91
- prefix_separator = "_" * self._log_suite_numbers
91
+ prefix_separator = "_" * (not self._log_suite_numbers)
92
92
  return f"{self._get_padded_index(tse)}_{prefix_separator}"
93
93
 
94
94
  def _get_padded_index(self, tse) -> str: