def my_compile_string(self, template_string, origin, libraries=[]):
        lexer = template.Lexer(template_string, origin)
        parser = template.Parser(lexer.tokenize())
        for lib in libraries:
            parser.add_library(lib)
        return parser.parse()
Compiles template_string into NodeList ready for rendering
dataset/ETHPy150Open carljm/django-localeurl/localeurl/tests/test_utils.py/TestTemplate.my_compile_string