cloudbeat-common 1.2.0__tar.gz → 1.2.1__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.
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/PKG-INFO +1 -1
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/cloudbeat_common.egg-info/PKG-INFO +1 -1
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/src/models.py +1 -1
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/src/reporter.py +2 -2
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/cloudbeat.py +0 -0
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/cloudbeat_common.egg-info/SOURCES.txt +0 -0
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/cloudbeat_common.egg-info/dependency_links.txt +0 -0
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/cloudbeat_common.egg-info/requires.txt +0 -0
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/cloudbeat_common.egg-info/top_level.txt +0 -0
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/setup.cfg +0 -0
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/setup.py +0 -0
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/src/__init__.py +0 -0
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/src/cb.py +0 -0
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/src/client.py +0 -0
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/src/helpers.py +0 -0
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/src/json_util.py +0 -0
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/tests/__init__.py +0 -0
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/tests/conftest.py +0 -0
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/tests/test_reporter.py +0 -0
- {cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/tests/test_step.py +0 -0
|
@@ -90,7 +90,7 @@ class TestResult:
|
|
|
90
90
|
|
|
91
91
|
@attrs
|
|
92
92
|
class TestableResultBase:
|
|
93
|
-
id = attrib(default=str(uuid.uuid4()))
|
|
93
|
+
id = attrib(default=Factory(lambda: str(uuid.uuid4())))
|
|
94
94
|
name = attrib(default=None)
|
|
95
95
|
display_name = attrib(default=None)
|
|
96
96
|
description = attrib(default=None)
|
|
@@ -141,12 +141,12 @@ class CbTestReporter:
|
|
|
141
141
|
))
|
|
142
142
|
return case_result
|
|
143
143
|
|
|
144
|
-
def end_case(self, status=None, failure=None):
|
|
144
|
+
def end_case(self, status=None, failure=None, skip_api=False):
|
|
145
145
|
case_result: CaseResult = self._context.get("case")
|
|
146
146
|
if case_result is None:
|
|
147
147
|
return None
|
|
148
148
|
case_result.end(status, failure)
|
|
149
|
-
if self._api_client:
|
|
149
|
+
if self._api_client and not skip_api:
|
|
150
150
|
suite_result: SuiteResult = self._context.get("suite")
|
|
151
151
|
self._api_client.update_case_status(CaseStatusUpdateReq(
|
|
152
152
|
timestamp=int(time.time() * 1000),
|
|
File without changes
|
|
File without changes
|
{cloudbeat_common-1.2.0 → cloudbeat_common-1.2.1}/cloudbeat_common.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|