testit-adapter-pytest 3.2.4__tar.gz → 3.2.6__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_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/PKG-INFO +2 -2
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/setup.py +2 -2
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest/utils.py +14 -9
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest.egg-info/PKG-INFO +2 -2
- testit_adapter_pytest-3.2.6/src/testit_adapter_pytest.egg-info/requires.txt +4 -0
- testit_adapter_pytest-3.2.4/src/testit_adapter_pytest.egg-info/requires.txt +0 -4
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/README.md +0 -0
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/setup.cfg +0 -0
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest/__init__.py +0 -0
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest/fixture_context.py +0 -0
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest/fixture_manager.py +0 -0
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest/fixture_storage.py +0 -0
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest/listener.py +0 -0
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest/models/__init__.py +0 -0
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest/models/executable_test.py +0 -0
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest/models/fixture.py +0 -0
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest/plugin.py +0 -0
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest.egg-info/SOURCES.txt +0 -0
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest.egg-info/dependency_links.txt +0 -0
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest.egg-info/entry_points.txt +0 -0
- {testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: testit-adapter-pytest
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.6
|
|
4
4
|
Summary: Pytest adapter for Test IT
|
|
5
5
|
Home-page: https://github.com/testit-tms/adapters-python/
|
|
6
6
|
Author: Integration team
|
|
@@ -16,7 +16,7 @@ Description-Content-Type: text/markdown
|
|
|
16
16
|
Requires-Dist: pytest
|
|
17
17
|
Requires-Dist: pytest-xdist
|
|
18
18
|
Requires-Dist: attrs
|
|
19
|
-
Requires-Dist: testit-python-commons==3.2.
|
|
19
|
+
Requires-Dist: testit-python-commons==3.2.6
|
|
20
20
|
|
|
21
21
|
# Test IT TMS adapter for Pytest
|
|
22
22
|
|
|
@@ -2,7 +2,7 @@ from setuptools import find_packages, setup
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name='testit-adapter-pytest',
|
|
5
|
-
version='3.2.
|
|
5
|
+
version='3.2.6',
|
|
6
6
|
description='Pytest adapter for Test IT',
|
|
7
7
|
long_description=open('README.md', "r").read(),
|
|
8
8
|
long_description_content_type="text/markdown",
|
|
@@ -21,6 +21,6 @@ setup(
|
|
|
21
21
|
py_modules=['testit_adapter_pytest'],
|
|
22
22
|
packages=find_packages(where='src'),
|
|
23
23
|
package_dir={'': 'src'},
|
|
24
|
-
install_requires=['pytest', 'pytest-xdist', 'attrs', 'testit-python-commons==3.2.
|
|
24
|
+
install_requires=['pytest', 'pytest-xdist', 'attrs', 'testit-python-commons==3.2.6'],
|
|
25
25
|
entry_points={'pytest11': ['testit_adapter_pytest = testit_adapter_pytest.plugin']}
|
|
26
26
|
)
|
{testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest/utils.py
RENAMED
|
@@ -178,9 +178,9 @@ def __get_labels_from(item):
|
|
|
178
178
|
get_all_parameters(item))
|
|
179
179
|
|
|
180
180
|
if isinstance(result, __ARRAY_TYPES):
|
|
181
|
-
for
|
|
181
|
+
for l in result:
|
|
182
182
|
labels.append({
|
|
183
|
-
'name': str(
|
|
183
|
+
'name': str(l)
|
|
184
184
|
})
|
|
185
185
|
else:
|
|
186
186
|
labels.append({
|
|
@@ -191,19 +191,24 @@ def __get_labels_from(item):
|
|
|
191
191
|
|
|
192
192
|
|
|
193
193
|
def __get_work_item_ids_from(item):
|
|
194
|
-
|
|
194
|
+
test_workitem_ids = __search_attribute(item, 'test_workitems_id')
|
|
195
195
|
|
|
196
|
-
if not
|
|
196
|
+
if not test_workitem_ids:
|
|
197
197
|
return []
|
|
198
198
|
|
|
199
|
-
|
|
199
|
+
workitem_ids = []
|
|
200
200
|
|
|
201
|
-
|
|
202
|
-
|
|
201
|
+
for workitem_id in test_workitem_ids:
|
|
202
|
+
result = collect_parameters_in_mass_attribute(
|
|
203
|
+
workitem_id,
|
|
204
|
+
get_all_parameters(item))
|
|
203
205
|
|
|
204
|
-
|
|
206
|
+
if isinstance(result, __ARRAY_TYPES):
|
|
207
|
+
workitem_ids += list(map(str, result))
|
|
208
|
+
else:
|
|
209
|
+
workitem_ids.append(str(result))
|
|
205
210
|
|
|
206
|
-
return
|
|
211
|
+
return workitem_ids
|
|
207
212
|
|
|
208
213
|
|
|
209
214
|
def collect_parameters_in_string_attribute(attribute, all_parameters):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: testit-adapter-pytest
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.6
|
|
4
4
|
Summary: Pytest adapter for Test IT
|
|
5
5
|
Home-page: https://github.com/testit-tms/adapters-python/
|
|
6
6
|
Author: Integration team
|
|
@@ -16,7 +16,7 @@ Description-Content-Type: text/markdown
|
|
|
16
16
|
Requires-Dist: pytest
|
|
17
17
|
Requires-Dist: pytest-xdist
|
|
18
18
|
Requires-Dist: attrs
|
|
19
|
-
Requires-Dist: testit-python-commons==3.2.
|
|
19
|
+
Requires-Dist: testit-python-commons==3.2.6
|
|
20
20
|
|
|
21
21
|
# Test IT TMS adapter for Pytest
|
|
22
22
|
|
|
File without changes
|
|
File without changes
|
{testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest/listener.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{testit_adapter_pytest-3.2.4 → testit_adapter_pytest-3.2.6}/src/testit_adapter_pytest/plugin.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|