Пример #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'))
Пример #2
0
 def test_disable_server(self):
     '''
     Test disable_server
     '''
     self.assertTrue(haproxyconn.disable_server('db1.salt.com', 'mysql'))
Пример #3
0
 def test_disable_server(self):
     """
     Test disable_server
     """
     self.assertTrue(haproxyconn.disable_server("db1.salt.com", "mysql"))