testhide-pytest-plugin 0.2.4__tar.gz → 0.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.
- {testhide_pytest_plugin-0.2.4/src/testhide_pytest_plugin.egg-info → testhide_pytest_plugin-0.2.6}/PKG-INFO +1 -1
- {testhide_pytest_plugin-0.2.4 → testhide_pytest_plugin-0.2.6}/pyproject.toml +1 -1
- {testhide_pytest_plugin-0.2.4 → testhide_pytest_plugin-0.2.6}/src/testhide_plugin/plugin.py +4 -1
- {testhide_pytest_plugin-0.2.4 → testhide_pytest_plugin-0.2.6/src/testhide_pytest_plugin.egg-info}/PKG-INFO +1 -1
- {testhide_pytest_plugin-0.2.4 → testhide_pytest_plugin-0.2.6}/LICENSE +0 -0
- {testhide_pytest_plugin-0.2.4 → testhide_pytest_plugin-0.2.6}/README.md +0 -0
- {testhide_pytest_plugin-0.2.4 → testhide_pytest_plugin-0.2.6}/setup.cfg +0 -0
- {testhide_pytest_plugin-0.2.4 → testhide_pytest_plugin-0.2.6}/src/testhide_plugin/__init__.py +0 -0
- {testhide_pytest_plugin-0.2.4 → testhide_pytest_plugin-0.2.6}/src/testhide_plugin/hookspecs.py +0 -0
- {testhide_pytest_plugin-0.2.4 → testhide_pytest_plugin-0.2.6}/src/testhide_pytest_plugin.egg-info/SOURCES.txt +0 -0
- {testhide_pytest_plugin-0.2.4 → testhide_pytest_plugin-0.2.6}/src/testhide_pytest_plugin.egg-info/dependency_links.txt +0 -0
- {testhide_pytest_plugin-0.2.4 → testhide_pytest_plugin-0.2.6}/src/testhide_pytest_plugin.egg-info/entry_points.txt +0 -0
- {testhide_pytest_plugin-0.2.4 → testhide_pytest_plugin-0.2.6}/src/testhide_pytest_plugin.egg-info/requires.txt +0 -0
- {testhide_pytest_plugin-0.2.4 → testhide_pytest_plugin-0.2.6}/src/testhide_pytest_plugin.egg-info/top_level.txt +0 -0
|
@@ -194,7 +194,7 @@ class TesthidePlugin:
|
|
|
194
194
|
return
|
|
195
195
|
|
|
196
196
|
filepath, line, _ = report.location
|
|
197
|
-
name = item.
|
|
197
|
+
name = item.name
|
|
198
198
|
classname_path = report.nodeid.split('::')
|
|
199
199
|
if len(classname_path) > 2:
|
|
200
200
|
classname = ".".join(classname_path[:-1]).replace('/', '.')
|
|
@@ -271,6 +271,9 @@ class TesthidePlugin:
|
|
|
271
271
|
worker = getattr(self.config, 'workerinput', {}).get('workerid', 'master')
|
|
272
272
|
fname = os.path.join(self.temp_dir, f"{safe_nodeid}_{worker}.xml")
|
|
273
273
|
|
|
274
|
+
if os.name == 'nt' and not fname.startswith('\\\\?\\'):
|
|
275
|
+
fname = f"\\\\?\\{os.path.abspath(fname)}"
|
|
276
|
+
os.makedirs(os.path.dirname(fname), exist_ok=True)
|
|
274
277
|
ET.ElementTree(testcase).write(fname, encoding='utf-8', xml_declaration=True)
|
|
275
278
|
|
|
276
279
|
def pytest_sessionstart(self, session):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{testhide_pytest_plugin-0.2.4 → testhide_pytest_plugin-0.2.6}/src/testhide_plugin/__init__.py
RENAMED
|
File without changes
|
{testhide_pytest_plugin-0.2.4 → testhide_pytest_plugin-0.2.6}/src/testhide_plugin/hookspecs.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|