robotcode-runner 2.4.0__py3-none-any.whl → 2.5.0__py3-none-any.whl
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.
- robotcode/runner/__version__.py +1 -1
- robotcode/runner/cli/discover/discover.py +11 -12
- robotcode/runner/cli/rebot.py +2 -2
- robotcode/runner/cli/robot.py +4 -4
- {robotcode_runner-2.4.0.dist-info → robotcode_runner-2.5.0.dist-info}/METADATA +1 -1
- {robotcode_runner-2.4.0.dist-info → robotcode_runner-2.5.0.dist-info}/RECORD +8 -8
- {robotcode_runner-2.4.0.dist-info → robotcode_runner-2.5.0.dist-info}/WHEEL +0 -0
- {robotcode_runner-2.4.0.dist-info → robotcode_runner-2.5.0.dist-info}/entry_points.txt +0 -0
robotcode/runner/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2.
|
|
1
|
+
__version__ = "2.5.0"
|
|
@@ -48,7 +48,7 @@ from robotcode.plugin import (
|
|
|
48
48
|
pass_application,
|
|
49
49
|
)
|
|
50
50
|
from robotcode.plugin.click_helper.types import add_options
|
|
51
|
-
from robotcode.robot.utils import
|
|
51
|
+
from robotcode.robot.utils import RF_VERSION
|
|
52
52
|
|
|
53
53
|
from ..robot import ROBOT_OPTIONS, ROBOT_VERSION_OPTIONS, RobotFrameworkEx, handle_robot_options
|
|
54
54
|
|
|
@@ -71,8 +71,8 @@ def _patch() -> None:
|
|
|
71
71
|
return
|
|
72
72
|
__patched = True
|
|
73
73
|
|
|
74
|
-
if
|
|
75
|
-
if
|
|
74
|
+
if RF_VERSION < (6, 1):
|
|
75
|
+
if RF_VERSION < (6, 0):
|
|
76
76
|
from robot.running.builder.testsettings import ( # pyright: ignore[reportMissingImports]
|
|
77
77
|
TestDefaults,
|
|
78
78
|
)
|
|
@@ -100,7 +100,7 @@ def _patch() -> None:
|
|
|
100
100
|
except DataError as e:
|
|
101
101
|
LOGGER.error(str(e))
|
|
102
102
|
parent_defaults = self._stack[-1][-1] if self._stack else None
|
|
103
|
-
if
|
|
103
|
+
if RF_VERSION < (6, 1):
|
|
104
104
|
from robot.running.builder.parsers import format_name
|
|
105
105
|
|
|
106
106
|
return ErroneousTestSuite(
|
|
@@ -127,7 +127,7 @@ def _patch() -> None:
|
|
|
127
127
|
|
|
128
128
|
SuiteStructureParser._validate_execution_mode = _validate_execution_mode
|
|
129
129
|
|
|
130
|
-
elif
|
|
130
|
+
elif RF_VERSION >= (6, 1):
|
|
131
131
|
from robot.parsing.suitestructure import SuiteDirectory, SuiteFile
|
|
132
132
|
from robot.running.builder.settings import ( # pyright: ignore[reportMissingImports]
|
|
133
133
|
TestDefaults,
|
|
@@ -175,7 +175,7 @@ def _patch() -> None:
|
|
|
175
175
|
|
|
176
176
|
SuiteStructureParser._build_suite_directory = build_suite_directory
|
|
177
177
|
|
|
178
|
-
if
|
|
178
|
+
if RF_VERSION < (6, 1, 1):
|
|
179
179
|
old_validate_execution_mode = SuiteStructureParser._validate_execution_mode
|
|
180
180
|
|
|
181
181
|
def _validate_execution_mode(self: SuiteStructureParser, suite: TestSuite) -> None:
|
|
@@ -256,7 +256,7 @@ class Collector(SuiteVisitor):
|
|
|
256
256
|
uri=str(Uri.from_path(absolute_path)),
|
|
257
257
|
source=str(absolute_path),
|
|
258
258
|
rel_source=get_rel_source(absolute_path),
|
|
259
|
-
needs_parse_include=
|
|
259
|
+
needs_parse_include=RF_VERSION >= (6, 1),
|
|
260
260
|
)
|
|
261
261
|
self._current = self.all
|
|
262
262
|
self.suites: List[TestItem] = []
|
|
@@ -510,11 +510,10 @@ def handle_options(
|
|
|
510
510
|
|
|
511
511
|
LOGGER.register_logger(diagnostics_logger)
|
|
512
512
|
|
|
513
|
-
if
|
|
514
|
-
|
|
515
|
-
sys.path = settings.pythonpath + sys.path
|
|
513
|
+
if settings.pythonpath:
|
|
514
|
+
sys.path = settings.pythonpath + sys.path
|
|
516
515
|
|
|
517
|
-
if
|
|
516
|
+
if RF_VERSION > (6, 1):
|
|
518
517
|
builder = TestSuiteBuilder(
|
|
519
518
|
included_extensions=settings.extension,
|
|
520
519
|
included_files=settings.parse_include,
|
|
@@ -523,7 +522,7 @@ def handle_options(
|
|
|
523
522
|
lang=settings.languages,
|
|
524
523
|
allow_empty_suite=settings.run_empty_suite,
|
|
525
524
|
)
|
|
526
|
-
elif
|
|
525
|
+
elif RF_VERSION >= (6, 0):
|
|
527
526
|
builder = TestSuiteBuilder(
|
|
528
527
|
settings["SuiteNames"],
|
|
529
528
|
included_extensions=settings.extension,
|
robotcode/runner/cli/rebot.py
CHANGED
|
@@ -10,7 +10,7 @@ from robotcode.plugin import Application, pass_application
|
|
|
10
10
|
from robotcode.robot.config.loader import load_robot_config_from_path
|
|
11
11
|
from robotcode.robot.config.model import RebotProfile
|
|
12
12
|
from robotcode.robot.config.utils import get_config_files
|
|
13
|
-
from robotcode.robot.utils import
|
|
13
|
+
from robotcode.robot.utils import RF_VERSION
|
|
14
14
|
|
|
15
15
|
from ..__version__ import __version__
|
|
16
16
|
|
|
@@ -101,7 +101,7 @@ def rebot(app: Application, robot_options_and_args: Tuple[str, ...]) -> None:
|
|
|
101
101
|
)
|
|
102
102
|
|
|
103
103
|
console_links_args = []
|
|
104
|
-
if
|
|
104
|
+
if RF_VERSION >= (7, 1) and os.getenv("ROBOTCODE_DISABLE_ANSI_LINKS", "").lower() in [
|
|
105
105
|
"on",
|
|
106
106
|
"1",
|
|
107
107
|
"yes",
|
robotcode/runner/cli/robot.py
CHANGED
|
@@ -18,7 +18,7 @@ from robotcode.plugin.click_helper.types import add_options
|
|
|
18
18
|
from robotcode.robot.config.loader import load_robot_config_from_path
|
|
19
19
|
from robotcode.robot.config.model import RobotBaseProfile
|
|
20
20
|
from robotcode.robot.config.utils import get_config_files
|
|
21
|
-
from robotcode.robot.utils import
|
|
21
|
+
from robotcode.robot.utils import RF_VERSION
|
|
22
22
|
|
|
23
23
|
from ..__version__ import __version__
|
|
24
24
|
|
|
@@ -33,7 +33,7 @@ def _patch() -> None:
|
|
|
33
33
|
return
|
|
34
34
|
__patched = True
|
|
35
35
|
|
|
36
|
-
if
|
|
36
|
+
if RF_VERSION < (6, 1):
|
|
37
37
|
old_is_included = SuiteStructureBuilder._is_included
|
|
38
38
|
|
|
39
39
|
def _is_included_lt_61(self: SuiteStructureBuilder, path: str, base: str, ext: Any, incl_suites: Any) -> bool:
|
|
@@ -43,7 +43,7 @@ def _patch() -> None:
|
|
|
43
43
|
return not _is_ignored(self, Path(path))
|
|
44
44
|
|
|
45
45
|
SuiteStructureBuilder._is_included = _is_included_lt_61
|
|
46
|
-
elif
|
|
46
|
+
elif RF_VERSION >= (6, 1):
|
|
47
47
|
old_is_included = SuiteStructureBuilder._is_included
|
|
48
48
|
|
|
49
49
|
def _is_included(self: SuiteStructureBuilder, path: Path) -> bool:
|
|
@@ -321,7 +321,7 @@ def robot(
|
|
|
321
321
|
|
|
322
322
|
with app.chdir(root_folder) as orig_folder:
|
|
323
323
|
console_links_args = []
|
|
324
|
-
if
|
|
324
|
+
if RF_VERSION >= (7, 1) and os.getenv("ROBOTCODE_DISABLE_ANSI_LINKS", "").lower() in [
|
|
325
325
|
"on",
|
|
326
326
|
"1",
|
|
327
327
|
"yes",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
robotcode/runner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
robotcode/runner/__version__.py,sha256=
|
|
2
|
+
robotcode/runner/__version__.py,sha256=fMbNgIJqxiZEaSBLadLBt4rZpCHqarzb4Okt-aWsp2E,22
|
|
3
3
|
robotcode/runner/hooks.py,sha256=KRV0q0o1UWxKJgpAz2JQo55fX1LIkBBNPUGQMjRnKVI,252
|
|
4
4
|
robotcode/runner/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
|
|
5
5
|
robotcode/runner/cli/__init__.py,sha256=avp-uGkKmgrgeZyXL7NQUrnK-JOuDyIsUlV_6pijTG4,200
|
|
6
6
|
robotcode/runner/cli/libdoc.py,sha256=VOKb0Xpct9mGgZkCdUng13o3ZpvxnPg_LqWNP13BEJU,3468
|
|
7
|
-
robotcode/runner/cli/rebot.py,sha256=
|
|
8
|
-
robotcode/runner/cli/robot.py,sha256=
|
|
7
|
+
robotcode/runner/cli/rebot.py,sha256=LhMvkn92PQBQaniA1vRlu9J_XJ9N_wj95v48sdIvlG4,3943
|
|
8
|
+
robotcode/runner/cli/robot.py,sha256=SuXM60yYi-wRzrr9htsn7q_FdsQEOJxFFt7WjSRiWD8,11532
|
|
9
9
|
robotcode/runner/cli/testdoc.py,sha256=qc11KKwgGVXUydqsPS1M6x-j69wrtkFACeZEBeGXZBk,3479
|
|
10
10
|
robotcode/runner/cli/discover/__init__.py,sha256=CRFSvVDlOX1avV3kx-d2QUOugDvgKPy8RBApsAUq15s,55
|
|
11
|
-
robotcode/runner/cli/discover/discover.py,sha256=
|
|
12
|
-
robotcode_runner-2.
|
|
13
|
-
robotcode_runner-2.
|
|
14
|
-
robotcode_runner-2.
|
|
15
|
-
robotcode_runner-2.
|
|
11
|
+
robotcode/runner/cli/discover/discover.py,sha256=ZLafRucvN-q7kJIC0e1hHsUK69lCzBQEq1aY35q3O2s,37278
|
|
12
|
+
robotcode_runner-2.5.0.dist-info/METADATA,sha256=2KozwCaw-cNstmKhv6x5Lo9X8ZUFYeGbel7S6W_i3ow,2865
|
|
13
|
+
robotcode_runner-2.5.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
14
|
+
robotcode_runner-2.5.0.dist-info/entry_points.txt,sha256=igwjQYHlUfgCN-SohGVeQOnxOtqUzd2Jq94Ie8Se1Aw,44
|
|
15
|
+
robotcode_runner-2.5.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|