示例#1
0
 def test_run_hook(self):
     subproject = self.create_subproject()
     self.assertFalse(
         run_hook(subproject, 'false')
     )
     self.assertTrue(
         run_hook(subproject, 'true')
     )
示例#2
0
 def test_run_hook(self):
     subproject = self.create_subproject()
     self.assertFalse(
         run_hook(subproject, None, 'false')
     )
     self.assertTrue(
         run_hook(subproject, None, 'true')
     )
示例#3
0
 def test_run_hook(self):
     subproject = self.create_subproject()
     self.assertFalse(run_hook(subproject, None, "false"))
     self.assertTrue(run_hook(subproject, None, "true"))
示例#4
0
 def test_run_hook(self):
     component = self.create_component()
     self.assertFalse(run_hook(component, None, 'false'))
     self.assertTrue(run_hook(component, None, 'true'))