Exemple #1
0
 def test_list_servers(self, mock):
     '''
     Test if it get a value from etcd, by direct path
     '''
     self.assertTrue(haproxyconn.list_servers('mysql'))
Exemple #2
0
 def test_list_servers(self):
     '''
     Test list_servers
     '''
     self.assertTrue(haproxyconn.list_servers('mysql'))
 def test_list_servers(self):
     """
     Test list_servers
     """
     self.assertTrue(haproxyconn.list_servers("mysql"))