o !b@sVddlZddlZddlmZmZGdddejZddZedkr)ej dddSdS) N)TemplateContextc@seZdZddZdS)ContextTestCasecCstddd}|ddi|jt|jt|}|t|t|| t |t || |j|j| |j|jdS)N)abc) rpush_match_templatesappendobject _choice_stackcopyassertNotEqualid assertEqualrepr)self orig_ctxtctxtrs