instrumented_test_render
An instrumented Template render method, providing a signal that can be intercepted by the test Client.
def instrumented_test_render(
context: dict
) - > string
An instrumented Template render method, providing a signal that can be intercepted by the test Client.
Parameters
| Name | Type | Description |
|---|---|---|
| context | dict | The template context containing variables and data used to populate the template during rendering |
Returns
| Type | Description |
|---|---|
string | The rendered content of the template's node list as a string |