Ejemplo n.º 1
0
 def test_disable_server(self, mock):
     '''
     Test if it get a value from etcd, by direct path
     '''
     self.assertTrue(haproxyconn.disable_server('db1.salt.com', 'mysql'))
Ejemplo n.º 2
0
 def test_disable_server(self):
     '''
     Test disable_server
     '''
     self.assertTrue(haproxyconn.disable_server('db1.salt.com', 'mysql'))
Ejemplo n.º 3
0
 def test_disable_server(self):
     """
     Test disable_server
     """
     self.assertTrue(haproxyconn.disable_server("db1.salt.com", "mysql"))