code: def test_uu_dft_config():
      algo = knn.UserUser(30)
      assert algo.nnbrs == 30
      assert algo.center
      assert algo.aggregate == "weighted-average"
      assert algo.use_ratings
  
imports: from lenskit.algorithms import Recommender
  import lenskit.algorithms.user_knn
  from lenskit.util import clone
  from pathlib import Path
  import logging
  import pickle
  import pandas
  import numpy
  from scipy.sparse import linalg
  from pytest import approx, mark
  import lenskit.util.test
label_desc: Use image node_id 1 for calling a global function with example usage: test_uu_dft_config() without return types