コード例 #1
0
ファイル: bot.py プロジェクト: paroga/buildbot
 def remote_getCommands(self):
     commands = dict([(n, base.command_version)
                      for n in registry.getAllCommandNames()])
     return commands
コード例 #2
0
 def test_getAllCommandNames(self):
     self.failUnless('shell' in registry.getAllCommandNames())
コード例 #3
0
 def test_all_commands_exist(self):
     # if this doesn't raise a KeyError, then we're good
     for n in registry.getAllCommandNames():
         registry.getFactory(n)
コード例 #4
0
ファイル: bot.py プロジェクト: jfschedler/buildbot
 def remote_getCommands(self):
     commands = dict([
         (n, base.command_version)
         for n in registry.getAllCommandNames()
     ])
     return commands