コード例 #1
0
 def test_no_hooks():
     call_hook({}, "test")
コード例 #2
0
 def test_existing(self):
     tracer = {"called": False}
     call_hook(self.settings, "test", tracer)
     self.assertTrue(tracer["called"])
コード例 #3
0
 def test_no_hook(self):
     call_hook(self.settings, "test2")
コード例 #4
0
ファイル: test_init.py プロジェクト: camptocamp/c2cgeoportal
 def test_no_hooks():
     call_hook({}, "test")
コード例 #5
0
ファイル: test_init.py プロジェクト: camptocamp/c2cgeoportal
 def test_no_hook(self):
     call_hook(self.settings, "test2")
コード例 #6
0
ファイル: test_init.py プロジェクト: camptocamp/c2cgeoportal
 def test_existing(self):
     tracer = {"called": False}
     call_hook(self.settings, "test", tracer)
     self.assertTrue(tracer["called"])
コード例 #7
0
 def test_no_hooks(self):
     call_hook({}, "test")
コード例 #8
0
 def test_no_hooks(self):
     call_hook({}, "test")