We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 416335a commit 2de128eCopy full SHA for 2de128e
pytest_reportportal/service.py
@@ -218,9 +218,8 @@ def _get_item_dirs(self, item: Item) -> List[str]:
218
"""
219
root_path = item.session.config.rootdir.strpath
220
dir_path = item.fspath.new(basename="")
221
- rel_dir = dir_path.new(dirname=dir_path.relto(root_path), basename="",
222
- drive="")
223
- return [d for d in rel_dir.parts(reverse=False) if d.basename]
+ rel_dir = dir_path.new(dirname=dir_path.relto(root_path), basename="", drive="")
+ return [str(d) for d in rel_dir.parts(reverse=False) if d.basename]
224
225
def _get_tree_path(self, item: Item) -> List[Item]:
226
"""Get item of parents.
0 commit comments