def test_slaveof(self): ''' Test to make the server a slave of another instance, or promote it as master ''' self.assertEqual(redismod.slaveof('master_host', 'master_port'), 'A')
def test_slaveof(self): """ Test to make the server a slave of another instance, or promote it as master """ self.assertEqual(redismod.slaveof("master_host", "master_port"), "A")