def realize(self, context=None):
if not self.is_dynamic() or context is None:<EOL><INDENT>return self<EOL><DEDENT>else:<EOL><INDENT>selfcopy = self.ninja_copy()<EOL>selfcopy.templates = None<EOL>if isinstance(self._body, ContentHandler):<EOL><INDENT>selfcopy._body = self._body.get_content(context)<EOL><DEDENT>selfcopy._url = self.get_url(context=context)<EOL>selfcopy._headers = self.get_headers(context=context)<EOL>return selfcopy<EOL><DEDENT>
Return a fully-templated test object, for configuring curl
            Warning: this is a SHALLOW copy, mutation of fields will cause problems!
            Can accept a None context