def METHOD_NAME(self):
    # Test invalid format
    # Space separators args :
    str_tp = "{% load append_query_params %}" "{% append_query_params key1=var1 key2=var2 %}"
    self.assertRaises(TemplateSyntaxError, Template, str_tp)
    # No values :
    str_tp = "{% load append_query_params %}" "{% append_query_params key1=,key2=var2 %}"
    self.assertRaises(TemplateSyntaxError, Template, str_tp)
    str_tp = "{% load append_query_params %}" "{% append_query_params key1,key2=var2 %}"
    self.assertRaises(TemplateSyntaxError, Template, str_tp)
    # Not resolvable variable
    tr = Template("{% load append_query_params %}" "{% append_query_params key1=var3,key2=var2 %}")
    self.assertRaises(VariableDoesNotExist, tr.render, self.context)