Exemplo n.º 1
0
 def test_gunicorn_signal(self):
     with self.assertRaises(utils.InfrastructureException):
         management.gunicorn_signal(-1, "TTIN", "NOT_AN_APPSERVER")
Exemplo n.º 2
0
def gunicorn_signal(gunicorn_master_pid, signal_name, appserver_name):
    return management.gunicorn_signal(gunicorn_master_pid,
                                      signal_name,
                                      appserver_name)