예제 #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