def testmeth(self): allHosts = Host.findAllNames() return allHosts + ['Local']
def getHostsNames(self,scope=None): return Host.findAllNames(scope=scope)