def test_custom(self):
        r = SpringMetricsNode().render(Context({'spring_metrics_var1': 'val1',
                'spring_metrics_var2': 'val2'}))
        self.assertTrue("_springMetq.push(['setdata', {'var1': 'val1'}]);" in r,
                r)
        self.assertTrue("_springMetq.push(['setdata', {'var2': 'val2'}]);" in r,
                r)
dataset/ETHPy150Open jcassee/django-analytical/analytical/tests/test_tag_spring_metrics.py/SpringMetricsTagTestCase.test_custom/original