Skip to main content

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

NameTypeDescription
contextdictThe template context containing variables and data used to populate the template during rendering

Returns

TypeDescription
stringThe rendered content of the template's node list as a string