

def test_simple(self):
    tpl = '{% load sitemetrics %}{% sitemetrics by yandex for "138500" %}'
    self.assertIn('138500', render_string(self))
    tpl = '{% load sitemetrics %}{% sitemetrics some %}'
    self.assertRaises(TemplateSyntaxError, render_string, tpl)
    tpl = '{% load sitemetrics %}{% sitemetrics a b c d  %}'
    self.assertRaises(TemplateSyntaxError, render_string, tpl)

dataset/ETHPy150Open idlesign/django-sitemetrics/sitemetrics/tests.py TemplateTagsTest.test_simple/VarMisuse@22/53 `tpl`->`self`