code: def embd_fit(self, embedding, covmats, n_components):
      n_matrices, n_channels, n_channels = covmats.shape
      embd = embedding(n_components=n_components)
      embd.fit(covmats)
      assert embd.embedding_.shape == (n_matrices, n_components)
  
imports: from conftest import get_metrics
  import numpy
  from sklearn.neighbors import NearestCentroid
  from pyriemann.datasets import make_gaussian_blobs
  from pyriemann.embedding import SpectralEmbedding, LocallyLinearEmbedding, barycenter_weights, locally_linear_embedding
  import pytest
label_desc: Use image node_id 1 for calling the TestEmbedding obj's underlying member method code with example usage: obj.embd_fit(embedding, covmats, n_components) without return types