robotframework-pabot 4.0.4__py3-none-any.whl → 4.0.6__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.
- pabot/__init__.py +1 -1
- pabot/pabot.py +5 -2
- pabot/result_merger.py +7 -2
- {robotframework_pabot-4.0.4.dist-info → robotframework_pabot-4.0.6.dist-info}/METADATA +1 -1
- {robotframework_pabot-4.0.4.dist-info → robotframework_pabot-4.0.6.dist-info}/RECORD +9 -9
- {robotframework_pabot-4.0.4.dist-info → robotframework_pabot-4.0.6.dist-info}/LICENSE.txt +0 -0
- {robotframework_pabot-4.0.4.dist-info → robotframework_pabot-4.0.6.dist-info}/WHEEL +0 -0
- {robotframework_pabot-4.0.4.dist-info → robotframework_pabot-4.0.6.dist-info}/entry_points.txt +0 -0
- {robotframework_pabot-4.0.4.dist-info → robotframework_pabot-4.0.6.dist-info}/top_level.txt +0 -0
pabot/__init__.py
CHANGED
pabot/pabot.py
CHANGED
|
@@ -1197,13 +1197,16 @@ def generate_suite_names_with_builder(outs_dir, datasources, options):
|
|
|
1197
1197
|
)
|
|
1198
1198
|
|
|
1199
1199
|
suite = builder.build(*datasources)
|
|
1200
|
-
|
|
1201
|
-
suite.configure(**settings.suite_config)
|
|
1200
|
+
|
|
1202
1201
|
if settings.pre_run_modifiers:
|
|
1203
1202
|
_write.error = _write.warn = _write.info = _write.debug = _write.trace = _write
|
|
1204
1203
|
suite.visit(
|
|
1205
1204
|
ModelModifier(settings.pre_run_modifiers, settings.run_empty_suite, _write)
|
|
1206
1205
|
)
|
|
1206
|
+
|
|
1207
|
+
settings.rpa = builder.rpa
|
|
1208
|
+
suite.configure(**settings.suite_config)
|
|
1209
|
+
|
|
1207
1210
|
all_suites = (
|
|
1208
1211
|
get_all_suites_from_main_suite(suite.suites) if suite.suites else [suite]
|
|
1209
1212
|
)
|
pabot/result_merger.py
CHANGED
|
@@ -35,7 +35,7 @@ from robot.model import SuiteVisitor
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
class ResultMerger(SuiteVisitor):
|
|
38
|
-
def __init__(self, result, tests_root_name, out_dir, copied_artifacts):
|
|
38
|
+
def __init__(self, result, tests_root_name, out_dir, copied_artifacts, legacy_output):
|
|
39
39
|
self.root = result.suite
|
|
40
40
|
self.errors = result.errors
|
|
41
41
|
self.current = None
|
|
@@ -43,6 +43,7 @@ class ResultMerger(SuiteVisitor):
|
|
|
43
43
|
self._tests_root_name = tests_root_name
|
|
44
44
|
self._prefix = ""
|
|
45
45
|
self._out_dir = out_dir
|
|
46
|
+
self.legacy_output = legacy_output
|
|
46
47
|
|
|
47
48
|
self._patterns = []
|
|
48
49
|
regexp_template = (
|
|
@@ -150,6 +151,8 @@ class ResultMerger(SuiteVisitor):
|
|
|
150
151
|
|
|
151
152
|
def merge_time(self, suite):
|
|
152
153
|
cur = self.current
|
|
154
|
+
if ROBOT_VERSION >= "7.0" and not self.legacy_output:
|
|
155
|
+
cur.elapsed_time = None
|
|
153
156
|
cur.endtime = max([cur.endtime, suite.endtime])
|
|
154
157
|
cur.starttime = min([cur.starttime, suite.starttime])
|
|
155
158
|
|
|
@@ -222,13 +225,14 @@ def merge_groups(
|
|
|
222
225
|
invalid_xml_callback,
|
|
223
226
|
out_dir,
|
|
224
227
|
copied_artifacts,
|
|
228
|
+
legacy_output
|
|
225
229
|
):
|
|
226
230
|
merged = []
|
|
227
231
|
for group in group_by_root(
|
|
228
232
|
results, critical_tags, non_critical_tags, invalid_xml_callback
|
|
229
233
|
).values():
|
|
230
234
|
base = group[0]
|
|
231
|
-
merger = ResultMerger(base, tests_root_name, out_dir, copied_artifacts)
|
|
235
|
+
merger = ResultMerger(base, tests_root_name, out_dir, copied_artifacts, legacy_output)
|
|
232
236
|
for out in group:
|
|
233
237
|
merger.merge(out)
|
|
234
238
|
merged.append(base)
|
|
@@ -259,6 +263,7 @@ def merge(
|
|
|
259
263
|
invalid_xml_callback,
|
|
260
264
|
settings.output_directory,
|
|
261
265
|
copied_artifacts,
|
|
266
|
+
rebot_options.get('legacyoutput')
|
|
262
267
|
)
|
|
263
268
|
if len(merged) == 1:
|
|
264
269
|
if not merged[0].suite.doc:
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
pabot/SharedLibrary.py,sha256=mIipGs3ZhKYEakKprcbrMI4P_Un6qI8gE7086xpHaLY,2552
|
|
2
|
-
pabot/__init__.py,sha256=
|
|
2
|
+
pabot/__init__.py,sha256=elJbj_En-artFbF8FUbxiP7LhJwfmeOz_G2a4FTLO8c,94
|
|
3
3
|
pabot/arguments.py,sha256=PQuJiRYwkfhzbQLat4rOflfAvDONuBAWhu1SOmVV858,7149
|
|
4
4
|
pabot/clientwrapper.py,sha256=yz7battGs0exysnDeLDWJuzpb2Q-qSjitwxZMO2TlJw,231
|
|
5
5
|
pabot/coordinatorwrapper.py,sha256=nQQ7IowD6c246y8y9nsx0HZbt8vS2XODhPVDjm-lyi0,195
|
|
6
6
|
pabot/execution_items.py,sha256=ktPoGx0yXK6Q_4A8CYW3OFCnCyZQnJb8cPYZULmwyAU,8320
|
|
7
|
-
pabot/pabot.py,sha256=
|
|
7
|
+
pabot/pabot.py,sha256=QPzClIudUFWZIMRkWjiqGFFVDBXP-40bWUG5PbjJaX4,68695
|
|
8
8
|
pabot/pabotlib.py,sha256=FRZKaKy1ybyRkE-0SpaCsUWzxZAzNNU5dAywSm1QoPk,22324
|
|
9
|
-
pabot/result_merger.py,sha256=
|
|
9
|
+
pabot/result_merger.py,sha256=8iIptBn5MdgiW-OdhwVR2DZ0hUYuQeQXwIHAEPkMTuw,9095
|
|
10
10
|
pabot/robotremoteserver.py,sha256=L3O2QRKSGSE4ux5M1ip5XJMaelqaxQWJxd9wLLdtpzM,22272
|
|
11
11
|
pabot/workerwrapper.py,sha256=BdELUVDs5BmEkdNBcYTlnP22Cj0tUpZEunYQMAKyKWU,185
|
|
12
12
|
pabot/py3/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -14,9 +14,9 @@ pabot/py3/client.py,sha256=Od9L4vZ0sozMHq_W_ITQHBBt8kAej40DG58wnxmbHGM,1434
|
|
|
14
14
|
pabot/py3/coordinator.py,sha256=kBshCzA_1QX_f0WNk42QBJyDYSwSlNM-UEBxOReOj6E,2313
|
|
15
15
|
pabot/py3/messages.py,sha256=7mFr4_0x1JHm5sW8TvKq28Xs_JoeIGku2bX7AyO0kng,2557
|
|
16
16
|
pabot/py3/worker.py,sha256=5rfp4ZiW6gf8GRz6eC0-KUkfx847A91lVtRYpLAv2sg,1612
|
|
17
|
-
robotframework_pabot-4.0.
|
|
18
|
-
robotframework_pabot-4.0.
|
|
19
|
-
robotframework_pabot-4.0.
|
|
20
|
-
robotframework_pabot-4.0.
|
|
21
|
-
robotframework_pabot-4.0.
|
|
22
|
-
robotframework_pabot-4.0.
|
|
17
|
+
robotframework_pabot-4.0.6.dist-info/LICENSE.txt,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
|
18
|
+
robotframework_pabot-4.0.6.dist-info/METADATA,sha256=jsSx4f-wusBvzPDEXAJzRkEmhGTkpSxbHJi7EuGJR9k,997
|
|
19
|
+
robotframework_pabot-4.0.6.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
20
|
+
robotframework_pabot-4.0.6.dist-info/entry_points.txt,sha256=JpAIFADTeFOQWdwmn56KpAil8V3-41ZC5ICXCYm3Ng0,43
|
|
21
|
+
robotframework_pabot-4.0.6.dist-info/top_level.txt,sha256=t3OwfEAsSxyxrhjy_GCJYHKbV_X6AIsgeLhYeHvObG4,6
|
|
22
|
+
robotframework_pabot-4.0.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{robotframework_pabot-4.0.4.dist-info → robotframework_pabot-4.0.6.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|