def test_conf_changed_invalid_values(self):
        protocol = FakeControlProtocol([])
        protocol.answers.append('config/names=\nFoo Integer\nBar Integer')
        protocol.answers.append({'Foo': '0'})
        protocol.answers.append({'Bar': '1'})

        config = TorConfig(protocol)
        # Initial value is not tested here
        try:
            protocol.events['CONF_CHANGED']('Foo=INVALID\nBar=VALUES')
        except (__HOLE__, TypeError):
            pass
        else:
            self.fail("No excpetion thrown")
dataset/ETHPy150Open meejah/txtorcon/test/test_torconfig.py/EventTests.test_conf_changed_invalid_values