def test_hidden_service_parse_error(self):
        conf = TorConfig(FakeControlProtocol(['config/names=']))
        try:
            conf._setup_hidden_services('''FakeHiddenServiceKey=foo''')
            self.fail()
        except __HOLE__, e:
            self.assertTrue('parse' in str(e))
dataset/ETHPy150Open meejah/txtorcon/test/test_torconfig.py/HiddenServiceTests.test_hidden_service_parse_error