def METHOD_NAME(self):
    """Weight given as list, when connection rule is fixed_total_number"""
    src = nest.Create("iaf_psc_alpha", 3)
    tgt = nest.Create("iaf_psc_delta", 4)
    conn_dict = {"rule": "fixed_total_number", "N": 4}
    # weight has to be a list with dimension (n_conns x 1) when fixed_total_number is used
    ref_weights = [1.2, -3.5, 0.4, -0.2]
    syn_dict = {"weight": ref_weights}
    nest.Connect(src, tgt, conn_dict, syn_dict)
    conns = nest.GetConnections()
    weights = conns.weight
    self.assertEqual(weights.sort(), ref_weights.sort())