"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "buildbot/test/integration/test_try_client.py" between
buildbot-3.0.2.tar.gz and buildbot-3.1.0.tar.gz

About: Buildbot is a continuous integration testing framework (Python-based). It supports also automation of complex build systems, application deployment, and management of sophisticated software-release processes.

test_try_client.py  (buildbot-3.0.2):test_try_client.py  (buildbot-3.1.0)
skipping to change at line 116 skipping to change at line 116
def getSchedulerPort(): def getSchedulerPort():
if not self.sch.registrations: if not self.sch.registrations:
return None return None
self.serverPort = self.sch.registrations[0].getPort() self.serverPort = self.sch.registrations[0].getPort()
log.msg("Scheduler registered at port %d" % self.serverPort) log.msg("Scheduler registered at port %d" % self.serverPort)
return True return True
yield waitFor(getSchedulerPort) yield waitFor(getSchedulerPort)
def runClient(self, config): def runClient(self, config):
self.clt = tryclient.Try(config) self.clt = tryclient.Try(config)
return self.clt.run(_inTests=True) return self.clt.run_impl()
@defer.inlineCallbacks @defer.inlineCallbacks
def test_userpass_no_wait(self): def test_userpass_no_wait(self):
yield self.startMaster( yield self.startMaster(
trysched.Try_Userpass('try', ['a'], 0, [('u', b'p')])) trysched.Try_Userpass('try', ['a'], 0, [('u', b'p')]))
yield self.runClient({ yield self.runClient({
'connect': 'pb', 'connect': 'pb',
'master': '{}'.format(self.serverPort), 'master': '{}'.format(self.serverPort),
'username': 'u', 'username': 'u',
'passwd': b'p', 'passwd': b'p',
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)