def METHOD_NAME(self):
    m1 = mock.Mock()
    m2 = mock.Mock()
    cfg = config.Config(attributes={"m1": m1})
    cfg.attributes["connection"] = m2
    eq_(cfg.attributes, {"m1": m1, "connection": m2})