Ejemplo n.º 1
0
 def test_no_hooks():
     call_hook({}, "test")
Ejemplo n.º 2
0
 def test_existing(self):
     tracer = {"called": False}
     call_hook(self.settings, "test", tracer)
     self.assertTrue(tracer["called"])
Ejemplo n.º 3
0
 def test_no_hook(self):
     call_hook(self.settings, "test2")
Ejemplo n.º 4
0
 def test_no_hooks():
     call_hook({}, "test")
Ejemplo n.º 5
0
 def test_no_hook(self):
     call_hook(self.settings, "test2")
Ejemplo n.º 6
0
 def test_existing(self):
     tracer = {"called": False}
     call_hook(self.settings, "test", tracer)
     self.assertTrue(tracer["called"])
Ejemplo n.º 7
0
 def test_no_hooks(self):
     call_hook({}, "test")
Ejemplo n.º 8
0
 def test_no_hooks(self):
     call_hook({}, "test")