def test_set_wrong_object(self):
        conf = TorConfig(self.protocol)
        self.assertTrue(conf.post_bootstrap.called)
        try:
            conf.log = ('this', 'is', 'a', 'tuple')
            self.fail()
        except __HOLE__, e:
            self.assertTrue('Not valid' in str(e))
dataset/ETHPy150Open meejah/txtorcon/test/test_torconfig.py/LogTests.test_set_wrong_object