def test_set_weight(self, mock): ''' Test if it get a value from etcd, by direct path ''' self.assertTrue( haproxyconn.set_weight('db1.salt.com', 'mysql', weight=11))
def test_set_weight(self): ''' Test setting the weight of a given server ''' self.assertTrue(haproxyconn.set_weight('db1.salt.com', 'mysql', weight=11))
def test_set_weight(self): """ Test setting the weight of a given server """ self.assertTrue( haproxyconn.set_weight("db1.salt.com", "mysql", weight=11))