qase-robotframework 3.2.2__tar.gz → 3.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.
Files changed (18) hide show
  1. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/PKG-INFO +1 -1
  2. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/pyproject.toml +1 -1
  3. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/src/qase/robotframework/listener.py +8 -2
  4. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/src/qase_robotframework.egg-info/PKG-INFO +1 -1
  5. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/LICENSE +0 -0
  6. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/README.md +0 -0
  7. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/setup.cfg +0 -0
  8. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/src/qase/robotframework/__init__.py +0 -0
  9. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/src/qase/robotframework/filter.py +0 -0
  10. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/src/qase/robotframework/method.py +0 -0
  11. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/src/qase/robotframework/models.py +0 -0
  12. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/src/qase/robotframework/plugin.py +0 -0
  13. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/src/qase/robotframework/tag_parser.py +0 -0
  14. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/src/qase/robotframework/types.py +0 -0
  15. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/src/qase_robotframework.egg-info/SOURCES.txt +0 -0
  16. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/src/qase_robotframework.egg-info/dependency_links.txt +0 -0
  17. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/src/qase_robotframework.egg-info/requires.txt +0 -0
  18. {qase_robotframework-3.2.2 → qase_robotframework-3.2.3}/src/qase_robotframework.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qase-robotframework
3
- Version: 3.2.2
3
+ Version: 3.2.3
4
4
  Summary: Qase Robot Framework Plugin
5
5
  Author-email: Qase Team <support@qase.io>
6
6
  License: Apache License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "qase-robotframework"
7
- version = "3.2.2"
7
+ version = "3.2.3"
8
8
  description = "Qase Robot Framework Plugin"
9
9
  readme = "README.md"
10
10
  authors = [{name = "Qase Team", email = "support@qase.io"}]
@@ -23,6 +23,10 @@ def get_pool_id():
23
23
  return BuiltIn().get_variable_value('${PABOTQUEUEINDEX}', None)
24
24
 
25
25
 
26
+ def get_last_level_flag():
27
+ return BuiltIn().get_variable_value('${PABOTISLASTEXECUTIONINPOOL}', None)
28
+
29
+
26
30
  class Listener:
27
31
  ROBOT_LISTENER_API_VERSION = 3
28
32
 
@@ -34,6 +38,7 @@ class Listener:
34
38
  self.runtime = QaseRuntimeSingleton.get_instance()
35
39
  self.tests = {}
36
40
  self.pabot_index = None
41
+ self.last_level_flag = None
37
42
 
38
43
  if config.config.debug:
39
44
  logger.setLevel(logging.DEBUG)
@@ -46,6 +51,7 @@ class Listener:
46
51
 
47
52
  def start_suite(self, suite, result):
48
53
  self.pabot_index = get_pool_id()
54
+ self.last_level_flag = get_last_level_flag()
49
55
  if self.pabot_index is not None:
50
56
  try:
51
57
  if int(self.pabot_index) == 0:
@@ -134,8 +140,8 @@ class Listener:
134
140
  )
135
141
 
136
142
  def close(self):
137
- if self.pabot_index is not None:
138
- if int(self.pabot_index) == 0:
143
+ if self.last_level_flag is not None:
144
+ if int(self.last_level_flag) == 1:
139
145
  Listener.drop_run_id()
140
146
  else:
141
147
  self.reporter.complete_worker()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qase-robotframework
3
- Version: 3.2.2
3
+ Version: 3.2.3
4
4
  Summary: Qase Robot Framework Plugin
5
5
  Author-email: Qase Team <support@qase.io>
6
6
  License: Apache License