Skip to content
ocx
install

Assertion

Assertionclassdataclass#

Re-exported from ocx_sdk._resultsView source
class Assertion(kind: str, message: str)

Why package test decided a run failed.

Attributes

NameTypeDescription
kindstrThe assertion that fired, e.g. "exit_code".
messagestrIts human-readable form.

kindattributeinstance attribute#

kind: str

messageattributeinstance attribute#

message: str

from_dictmethodclassmethod#

def from_dict(data: Mapping[str, Any]) -> Assertion

Build from the decoded assertion object.