'Test normal backup record import.
Test the case when import succeeds for the case that the
driver does not support verify.'

def test_import_record_with_verify_not_implemented(self):

    vol_size = 1
    backup_id = uuid.uuid4()
    export = self._create_exported_record_entry(vol_size=vol_size, exported_id=backup_id)
    imported_record = self._create_export_record_db_entry(backup_id=backup_id)
    backup_hosts = []
    self.backup_mgr.import_record(self.ctxt, imported_record, export['backup_service'], export['backup_url'], backup_hosts)
    backup = db.backup_get(self.ctxt, imported_record.id)
    self.assertEqual(fields.BackupStatus.AVAILABLE, backup['status'])
    self.assertEqual(vol_size, backup['size'])
