Skip to content

Commit

Permalink
Remove c['bots'] backwards compatible testcase which is no longer app…
Browse files Browse the repository at this point in the history
…licable
  • Loading branch information
krajaratnam committed Feb 19, 2010
1 parent 534cf75 commit 842626d
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions buildbot/test/unit/test_config.py
Expand Up @@ -635,27 +635,6 @@ def _check1(ign):
# files that have not yet been updated to 0.7.6 . This
# compatibility (and this test) is scheduled for removal in 0.8.0
d.addCallback(_check1)
botsCfg = (emptyCfg +
"c['bots'] = [('bot1', 'pw1'), ('bot2', 'pw2')]\n")
d.addCallback(lambda ign: master.loadConfig(botsCfg))
def _check2(ign):
self.failUnlessEqual(master.checker.users,
{"change": "changepw",
"bot1": "pw1",
"bot2": "pw2"})
d.addCallback(_check2)
d.addCallback(lambda ign: master.loadConfig(botsCfg))
def _check3(ign):
self.failUnlessEqual(master.checker.users,
{"change": "changepw",
"bot1": "pw1",
"bot2": "pw2"})
d.addCallback(_check3)
d.addCallback(lambda ign: master.loadConfig(emptyCfg))
def _check4(ign):
self.failUnlessEqual(master.checker.users,
{"change": "changepw"})
d.addCallback(_check4)
slavesCfg = (emptyCfg +
"from buildbot.buildslave import BuildSlave\n"
"c['slaves'] = [BuildSlave('bot1','pw1'), "
Expand Down

0 comments on commit 842626d

Please sign in to comment.