'Parsing replication_device with default conf and user.'

def test_parse_replication_config_defaults(self):

    cfg = [{'backend_id': 'secondary-backend'}]
    expected = [{'name': 'secondary-backend', 'conf': '/etc/ceph/secondary-backend.conf', 'user': 'cinder'}]
    self.driver._parse_replication_configs(cfg)
    self.assertEqual(expected, self.driver._replication_targets)
