pytest-argus-reporter 0.15.1__py3-none-any.whl → 0.15.3__py3-none-any.whl

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: pytest-argus-reporter
3
- Version: 0.15.1
3
+ Version: 0.15.3
4
4
  Summary: A simple plugin to report results of test into argus
5
5
  Author-email: Scylladb <qa@scylladb.com>
6
6
  License-Expression: Apache-2.0
@@ -0,0 +1,7 @@
1
+ pytest_argus_reporter.py,sha256=fsoj2NRBSICxrUms11B31_7KMgBfyj0wxenTd3e88FY,18527
2
+ pytest_argus_reporter-0.15.3.dist-info/licenses/LICENSE,sha256=djOu5-7Oc8o2RPy-I6wE2Rk6-B8YAcSZHa9pmB0AGII,11344
3
+ pytest_argus_reporter-0.15.3.dist-info/METADATA,sha256=lqDg01kUlmBaj8qRU7xLleuGs4bUsLemdyUrvfsJb_4,7590
4
+ pytest_argus_reporter-0.15.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
5
+ pytest_argus_reporter-0.15.3.dist-info/entry_points.txt,sha256=Wp7FlYWgk_xRYY-Wb-CIadXAETjdf5UqkmfJekB2A10,50
6
+ pytest_argus_reporter-0.15.3.dist-info/top_level.txt,sha256=BsaFLrUPaNOaaOipyUXR2oLHZOZxzEsfYNEClplX8co,22
7
+ pytest_argus_reporter-0.15.3.dist-info/RECORD,,
pytest_argus_reporter.py CHANGED
@@ -165,11 +165,12 @@ class ArgusReporter(object): # pylint: disable=too-many-instance-attributes
165
165
  self.extra_headers = config.getoption("extra_headers")
166
166
  self.max_splice_time = config.getoption("max_splice_time")
167
167
  self.default_test_time = config.getoption("default_test_time")
168
+ if self.post_reports:
169
+ assert self.run_id and self.test_type, (
170
+ "'--argus-run-id' and '--argus-test-type' should be set, "
171
+ "or set ARGUS_RUN_ID and ARGUS_TEST_TYPE environment variables"
172
+ )
168
173
 
169
- assert self.run_id and self.test_type, (
170
- "'--argus-run-id' and '--argus-test-type' should be set, "
171
- "or set ARGUS_RUN_ID and ARGUS_TEST_TYPE environment variables"
172
- )
173
174
  self.session_data = dict()
174
175
  self.session_data["username"] = get_username()
175
176
  self.session_data["hostname"] = socket.gethostname()
@@ -177,7 +178,6 @@ class ArgusReporter(object): # pylint: disable=too-many-instance-attributes
177
178
  self.reports = defaultdict(list)
178
179
  self.config = config
179
180
  self.is_slave = False
180
-
181
181
  self.slices_query_fields = dict()
182
182
 
183
183
  @property
@@ -1,7 +0,0 @@
1
- pytest_argus_reporter.py,sha256=yH1W8n-AAFAvdJ92U5JtVWI7ALzHyCd72jYwNREDXfU,18482
2
- pytest_argus_reporter-0.15.1.dist-info/licenses/LICENSE,sha256=djOu5-7Oc8o2RPy-I6wE2Rk6-B8YAcSZHa9pmB0AGII,11344
3
- pytest_argus_reporter-0.15.1.dist-info/METADATA,sha256=yGaoNTkvuygoyysYUnd21fELuubA3nsZQYxs7qAb7uU,7590
4
- pytest_argus_reporter-0.15.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
5
- pytest_argus_reporter-0.15.1.dist-info/entry_points.txt,sha256=Wp7FlYWgk_xRYY-Wb-CIadXAETjdf5UqkmfJekB2A10,50
6
- pytest_argus_reporter-0.15.1.dist-info/top_level.txt,sha256=BsaFLrUPaNOaaOipyUXR2oLHZOZxzEsfYNEClplX8co,22
7
- pytest_argus_reporter-0.15.1.dist-info/RECORD,,