Skip to content

Commit

Permalink
fix: an issue with suites
Browse files Browse the repository at this point in the history
The specified suite in the decorator was not displayed.

Fixed #231
  • Loading branch information
gibiw authored and NickVolynkin committed Jul 30, 2024
1 parent a7e3d3d commit 689a71a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion qase-pytest/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "qase-pytest"
version = "6.0.2"
version = "6.0.3"
description = "Qase Pytest Plugin for Qase TestOps and Qase Report"
readme = "README.md"
keywords = ["qase", "pytest", "plugin", "testops", "report", "qase reporting", "test observability"]
Expand Down
1 change: 1 addition & 0 deletions qase-pytest/src/qase/pytest/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ def _set_suite(self, item) -> None:
marker = item.get_closest_marker("qase_suite")
if marker:
self.runtime.result.suite = Suite(marker.kwargs.get("title"), marker.kwargs.get("description"))
return
self._get_suite(item)

def _get_suite(self, item):
Expand Down

0 comments on commit 689a71a

Please sign in to comment.