def test_disabled(self): node = AnalyticsCodeNode(site=self.site_a) self.assertEqual(node.render(None), '')
def test_node_site_b(self): node = AnalyticsCodeNode(site=self.site_b) self.assertEqual(node.render(None), self.correct_out_b)