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