def METHOD_NAME(
    self, mock_OCI, mock_path, mock_md5, mock_compress
):
    oci = Mock()
    mock_OCI.new.return_value = oci
    mock_md5.return_value = Mock()
    uncompress = Mock()
    uncompress.get_format = Mock(return_value='xz')
    mock_compress.return_value = uncompress
    self.oci_import.sync_data()
    mock_OCI.new.assert_called_once_with()
    oci.unpack.assert_called_once_with()
    oci.import_rootfs.assert_called_once_with(
        'root_dir'
    )
    mock_md5.assert_called_once_with('root_dir/image/imported_root')
    uncompress.get_format.assert_called_once_with()
    uncompress.uncompress.assert_called_once_with(True)