Beispiel #1
0
 def fillServersList(self):
     dblink = Db()
     self.ui.lwServers.clear()
     servers = dblink.getServers()
     
     i = 0
     for ligne in servers:
         self.addServerToMonitor(ligne)
         i += 1
Beispiel #2
0
 def testServersList(self):
     dblink = Db()
     servers = dblink.getServers()
     
     for ligne in servers:
         print ligne['host']
     
     #self.assertEqual(ok, " history servers stored_commands users users_history")
     
     dblink.close()