testit-adapter-robotframework 2.5.1__tar.gz → 2.5.3__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.
- {testit-adapter-robotframework-2.5.1 → testit-adapter-robotframework-2.5.3}/PKG-INFO +2 -2
- {testit-adapter-robotframework-2.5.1 → testit-adapter-robotframework-2.5.3}/setup.py +2 -2
- {testit-adapter-robotframework-2.5.1 → testit-adapter-robotframework-2.5.3}/src/testit_adapter_robotframework/listeners.py +2 -1
- {testit-adapter-robotframework-2.5.1 → testit-adapter-robotframework-2.5.3}/src/testit_adapter_robotframework/models.py +2 -1
- {testit-adapter-robotframework-2.5.1 → testit-adapter-robotframework-2.5.3}/src/testit_adapter_robotframework.egg-info/PKG-INFO +2 -2
- testit-adapter-robotframework-2.5.3/src/testit_adapter_robotframework.egg-info/requires.txt +3 -0
- testit-adapter-robotframework-2.5.1/src/testit_adapter_robotframework.egg-info/requires.txt +0 -3
- {testit-adapter-robotframework-2.5.1 → testit-adapter-robotframework-2.5.3}/README.md +0 -0
- {testit-adapter-robotframework-2.5.1 → testit-adapter-robotframework-2.5.3}/setup.cfg +0 -0
- {testit-adapter-robotframework-2.5.1 → testit-adapter-robotframework-2.5.3}/src/testit_adapter_robotframework/TMSLibrary.py +0 -0
- {testit-adapter-robotframework-2.5.1 → testit-adapter-robotframework-2.5.3}/src/testit_adapter_robotframework/__init__.py +0 -0
- {testit-adapter-robotframework-2.5.1 → testit-adapter-robotframework-2.5.3}/src/testit_adapter_robotframework/utils.py +0 -0
- {testit-adapter-robotframework-2.5.1 → testit-adapter-robotframework-2.5.3}/src/testit_adapter_robotframework.egg-info/SOURCES.txt +0 -0
- {testit-adapter-robotframework-2.5.1 → testit-adapter-robotframework-2.5.3}/src/testit_adapter_robotframework.egg-info/dependency_links.txt +0 -0
- {testit-adapter-robotframework-2.5.1 → testit-adapter-robotframework-2.5.3}/src/testit_adapter_robotframework.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: testit-adapter-robotframework
|
|
3
|
-
Version: 2.5.
|
|
3
|
+
Version: 2.5.3
|
|
4
4
|
Summary: Robot Framework adapter for Test IT
|
|
5
5
|
Home-page: https://github.com/testit-tms/adapters-python/
|
|
6
6
|
Author: Integration team
|
|
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
15
|
Requires-Dist: attrs
|
|
16
16
|
Requires-Dist: robotframework
|
|
17
|
-
Requires-Dist: testit-python-commons==2.5.
|
|
17
|
+
Requires-Dist: testit-python-commons==2.5.3
|
|
18
18
|
|
|
19
19
|
# Test IT TMS adapter for Robot Framework
|
|
20
20
|

|
|
@@ -2,7 +2,7 @@ from setuptools import find_packages, setup
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name='testit-adapter-robotframework',
|
|
5
|
-
version='2.5.
|
|
5
|
+
version='2.5.3',
|
|
6
6
|
description='Robot Framework adapter for Test IT',
|
|
7
7
|
long_description=open('README.md', "r").read(),
|
|
8
8
|
long_description_content_type="text/markdown",
|
|
@@ -20,5 +20,5 @@ setup(
|
|
|
20
20
|
py_modules=['testit_adapter_robotframework'],
|
|
21
21
|
packages=find_packages(where='src'),
|
|
22
22
|
package_dir={'': 'src'},
|
|
23
|
-
install_requires=['attrs', 'robotframework', 'testit-python-commons==2.5.
|
|
23
|
+
install_requires=['attrs', 'robotframework', 'testit-python-commons==2.5.3']
|
|
24
24
|
)
|
|
@@ -51,7 +51,8 @@ class AutotestAdapter:
|
|
|
51
51
|
end = convert_time(attributes['endtime'])
|
|
52
52
|
duration = attributes['elapsedtime']
|
|
53
53
|
outcome = STATUSES[attributes['status']]
|
|
54
|
-
self.active_test.add_step_result(title, start, end, duration, outcome)
|
|
54
|
+
self.active_test.add_step_result(title, start, end, duration, outcome, self.active_test.attachments)
|
|
55
|
+
self.active_test.attachments = []
|
|
55
56
|
|
|
56
57
|
def end_test(self, name, attributes):
|
|
57
58
|
if self.active_test:
|
|
@@ -172,7 +172,7 @@ class Autotest(Default):
|
|
|
172
172
|
self.result_depth[-1].step_results.append(StepResult(title, description, parameters=parameters))
|
|
173
173
|
self.result_depth.append(self.result_depth[-1].step_results[-1])
|
|
174
174
|
|
|
175
|
-
def add_step_result(self, title, start, complete, duration, outcome):
|
|
175
|
+
def add_step_result(self, title, start, complete, duration, outcome, attachments):
|
|
176
176
|
if self.result_depth:
|
|
177
177
|
if self.result_depth[-1].title == title:
|
|
178
178
|
step = self.result_depth.pop()
|
|
@@ -180,6 +180,7 @@ class Autotest(Default):
|
|
|
180
180
|
step.completed_on = complete
|
|
181
181
|
step.duration = duration
|
|
182
182
|
step.outcome = outcome
|
|
183
|
+
step.attachments = attachments
|
|
183
184
|
if self.step_depth:
|
|
184
185
|
if self.step_depth[-1].title == title:
|
|
185
186
|
self.step_depth.pop()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: testit-adapter-robotframework
|
|
3
|
-
Version: 2.5.
|
|
3
|
+
Version: 2.5.3
|
|
4
4
|
Summary: Robot Framework adapter for Test IT
|
|
5
5
|
Home-page: https://github.com/testit-tms/adapters-python/
|
|
6
6
|
Author: Integration team
|
|
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
15
|
Requires-Dist: attrs
|
|
16
16
|
Requires-Dist: robotframework
|
|
17
|
-
Requires-Dist: testit-python-commons==2.5.
|
|
17
|
+
Requires-Dist: testit-python-commons==2.5.3
|
|
18
18
|
|
|
19
19
|
# Test IT TMS adapter for Robot Framework
|
|
20
20
|

|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|