Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(4)  |  Derive(0)  |  Import(1)

src/l/e/leastauthority.com-HEAD/lae_automation/test/test_monitor.py   leastauthority.com(Download)
 
from cStringIO import StringIO
from twisted.trial.unittest import TestCase
 
from lae_automation.monitor import check_server, check_servers
        self.patch(monitor, 'set_host_and_key', call_set_host_and_key)
 
        check_server(self.PUBLICHOST, self.MONPRVKEYPATH, self.STDOUT, self.STDERR)
 
 
        self.patch(monitor, 'set_host_and_key', call_set_host_and_key)
 
        check_server(self.PUBLICHOST, self.MONPRVKEYPATH, self.STDOUT, self.STDERR)
 
 
        self.patch(monitor, 'set_host_and_key', call_set_host_and_key)
 
        check_server(self.PUBLICHOST, self.MONPRVKEYPATH, self.STDOUT, self.STDERR)
 
 
        self.patch(monitor, 'set_host_and_key', call_set_host_and_key)
 
        check_server(self.PUBLICHOST, self.MONPRVKEYPATH, self.STDOUT, self.STDERR)