> ## Documentation Index
> Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Python: AssertionReturn

> CDKTN Core API Reference for AssertionReturn in Python.

Class representing the contents of a return by an assertion.

## Initializers <a name="Initializers" id="cdktn.testingMatchers.AssertionReturn.Initializer" />

```python theme={null}
from cdktn import testing_matchers

testingMatchers.AssertionReturn(
  message: str,
  pass: bool
)
```

| **Name**                                                                                                | **Type**          | **Description**                                                            |
| ------------------------------------------------------------------------------------------------------- | ----------------- | -------------------------------------------------------------------------- |
| <code><a href="#cdktn.testingMatchers.AssertionReturn.Initializer.parameter.message">message</a></code> | <code>str</code>  | - String message containing information about the result of the assertion. |
| <code><a href="#cdktn.testingMatchers.AssertionReturn.Initializer.parameter.pass">pass</a></code>       | <code>bool</code> | - Boolean pass denoting the success of the assertion.                      |

***

### `message`<sup>Required</sup> <a name="message" id="cdktn.testingMatchers.AssertionReturn.Initializer.parameter.message" />

* *Type:* str

String message containing information about the result of the assertion.

***

### `pass`<sup>Required</sup> <a name="pass" id="cdktn.testingMatchers.AssertionReturn.Initializer.parameter.pass" />

* *Type:* bool

Boolean pass denoting the success of the assertion.

***

## Properties <a name="Properties" id="Properties" />

| **Name**                                                                                   | **Type**          | **Description**                                                            |
| ------------------------------------------------------------------------------------------ | ----------------- | -------------------------------------------------------------------------- |
| <code><a href="#cdktn.testingMatchers.AssertionReturn.property.message">message</a></code> | <code>str</code>  | - String message containing information about the result of the assertion. |
| <code><a href="#cdktn.testingMatchers.AssertionReturn.property.pass">pass</a></code>       | <code>bool</code> | - Boolean pass denoting the success of the assertion.                      |

***

### `message`<sup>Required</sup> <a name="message" id="cdktn.testingMatchers.AssertionReturn.property.message" />

```python theme={null}
message: str
```

* *Type:* str

String message containing information about the result of the assertion.

***

### `pass`<sup>Required</sup> <a name="pass" id="cdktn.testingMatchers.AssertionReturn.property.pass" />

```python theme={null}
pass: bool
```

* *Type:* bool

Boolean pass denoting the success of the assertion.

***
