コード例 #1
0
 def test_reexec_self(self):
     collect.reexec_self()
     self.assertNotIn('Signal received', self.log.output)
コード例 #2
0
 def test_reexec_self(self):
     collect.reexec_self()
     self.assertNotIn('Signal received', self.log.output)
コード例 #3
0
 def test_reexec_self_signal(self):
     collect.reexec_self(signal.SIGHUP, None)
     self.assertIn('Signal received', self.log.output)
コード例 #4
0
 def test_reexec_self_signal(self):
     collect.reexec_self(signal.SIGHUP, None)
     self.assertIn('Signal received', self.log.output)