Пример #1
0
 def test_reexec_self(self):
     collect.reexec_self()
     self.assertNotIn('Signal received', self.log.output)
 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)
 def test_reexec_self_signal(self):
     collect.reexec_self(signal.SIGHUP, None)
     self.assertIn('Signal received', self.log.output)