def METHOD_NAME(self, attr_name, attr_value):
    mq_dict = {'type': 'wamp', 'router_url': "wss://foo", 'realm': "bb"}
    mq_dict[attr_name] = attr_value
    with self.assertRaises(ValueError,
                           msg="Cannot use different wamp settings when reconfiguring"):
        yield self.connector.reconfigServiceWithBuildbotConfig(FakeConfig(mq_dict))