Skip to main content
Class representing the contents of a return by an assertion.

Initializers

from cdktn import testing_matchers

testingMatchers.AssertionReturn(
  message: str,
  pass: bool
)
NameTypeDescription
messagestr- String message containing information about the result of the assertion.
passbool- Boolean pass denoting the success of the assertion.

messageRequired

  • Type: str
String message containing information about the result of the assertion.

passRequired

  • Type: bool
Boolean pass denoting the success of the assertion.

Properties

NameTypeDescription
messagestr- String message containing information about the result of the assertion.
passbool- Boolean pass denoting the success of the assertion.

messageRequired

message: str
  • Type: str
String message containing information about the result of the assertion.

passRequired

pass: bool
  • Type: bool
Boolean pass denoting the success of the assertion.