def setUp(self): RunMixin.setUp(self) d = self.master.loadConfig(config_1) d.addCallback(lambda res: self.connectSlave( ["full1a", "full1b", "full1c", "full1d"], "bot1")) d.addCallback(lambda res: self.connectSlave(["full2a", "full2b"], "bot2")) return d
def setUp(self): RunMixin.setUp(self) d = self.master.loadConfig(self.config) d.addCallback(lambda res: self.connectSlave( ["excl_A", "excl_B", "count_A", "count_B"], "bot1")) d.addCallback(lambda res: self.connectSlave( ["excl_A", "excl_B", "count_A", "count_B"], "bot2")) return d
def setUp(self): RunMixin.setUp(self) d = self.master.loadConfig(config_1) d.addCallback(lambda res: self.connectSlave( ["full1a", "full1b", "full1c", "full1d"], "bot1")) d.addCallback( lambda res: self.connectSlave(["full2a", "full2b"], "bot2")) return d
def boto_setUp1(self): # debugging #import twisted.internet.base #twisted.internet.base.DelayedCall.debug = True # debugging RunMixin.setUp(self) self.boto = boto = Boto(self) if 'boto' not in sys.modules: sys.modules['boto'] = boto sys.modules['boto.exception'] = boto.exception if 'buildbot.ec2buildslave' in sys.modules: sys.modules['buildbot.ec2buildslave'].boto = boto
def boto_setUp1(self): # debugging # import twisted.internet.base # twisted.internet.base.DelayedCall.debug = True # debugging RunMixin.setUp(self) self.boto = boto = Boto(self) if "boto" not in sys.modules: sys.modules["boto"] = boto sys.modules["boto.exception"] = boto.exception if "buildbot.ec2buildslave" in sys.modules: sys.modules["buildbot.ec2buildslave"].boto = boto
def setUp(self): # debugging #import twisted.internet.base #twisted.internet.base.DelayedCall.debug = True # debugging RunMixin.setUp(self) d = self.master.loadConfig(latent_config) def _started(ign): self.bot1 = self.master.botmaster.slaves['bot1'] self.bot2 = self.master.botmaster.slaves['bot2'] self.bot3 = self.master.botmaster.slaves['bot3'] self.bot1.testcase = self self.bot2.testcase = self self.b1 = self.master.botmaster.builders['b1'] d.addCallback(_started) return d
def tearDown(self): try: import boto import boto.exception # @UnusedImport except ImportError: pass else: sys.modules["buildbot.ec2buildslave"].boto = boto return RunMixin.tearDown(self)
def tearDown(self): try: import boto import boto.exception #@UnusedImport except ImportError: pass else: sys.modules['buildbot.ec2buildslave'].boto = boto return RunMixin.tearDown(self)
def setUp(self): RunMixin.setUp(self) return self.master.loadConfig(config_1)
def tearDown(self): stopHTTPLog() warnings.resetwarnings() return RunMixin.tearDown(self)
def setUp(self): warnings.filterwarnings("ignore", category=DeprecationWarning) RunMixin.setUp(self) d = self.master.loadConfig(geturl_config) d.addCallback(lambda ign: self.connectSlave(["b1"])) return d
def setUp(self): RunMixin.setUp(self) d = self.master.loadConfig(version_config) d.addCallback(lambda ign: self.connectSlave(["quick"])) return d
def setUp(self): RunMixin.setUp(self) d = self.master.loadConfig(config_3) d.addCallback(lambda ign: self.connectSlave(["b1"])) return d
def tearDown(self): RunMixin.tearDown(self) # there are extant builders that will still try to write to this # directory, leading to a test failure -> test disabled shutil.rmtree(self.basedir)