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