testhide-pytest-plugin 0.2.2__tar.gz → 0.2.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testhide-pytest-plugin
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: A pytest plugin for creating incremental XML test reports for Testhide system.
5
5
  Author-email: Mykola Kovhanko <thuesdays@gmail.com>
6
6
  License: MIT License
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
8
8
  name = "testhide-pytest-plugin"
9
- version = "0.2.2"
9
+ version = "0.2.3"
10
10
  authors = [
11
11
  { name="Mykola Kovhanko", email="thuesdays@gmail.com" },
12
12
  ]
@@ -113,10 +113,10 @@ class TesthidePlugin:
113
113
  if not self.jira:
114
114
  return None
115
115
  try:
116
- issues = self.jira.search_issues(f'description ~ "testid#{test_id}" ORDER BY updated')
116
+ issues = self.jira.search_issues(f'description ~ "{test_id}" ORDER BY updated')
117
117
  return issues[0] if issues else None
118
118
  except Exception as e:
119
- self.config.warn('JIRA_SEARCH_ERROR', f"Failed to search JIRA for testid#{test_id}: {e}")
119
+ self.config.warn('JIRA_SEARCH_ERROR', f"Failed to search JIRA for {test_id}: {e}")
120
120
  return None
121
121
 
122
122
  def _get_cleaned_traceback(self, report):
@@ -203,7 +203,7 @@ class TesthidePlugin:
203
203
  classname = os.path.splitext(os.path.basename(filepath))[0]
204
204
 
205
205
  fail_id = getattr(item, 'fail_id', None)
206
- test_resolution = 'Product Defect'
206
+ test_resolution = 'Unresolved'
207
207
  if report.failed:
208
208
  tag = 'error' if report.when == 'setup' else 'failure'
209
209
  failure_message = str(report.longrepr.reprcrash.message) if hasattr(report.longrepr, 'reprcrash') else str(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testhide-pytest-plugin
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: A pytest plugin for creating incremental XML test reports for Testhide system.
5
5
  Author-email: Mykola Kovhanko <thuesdays@gmail.com>
6
6
  License: MIT License