def test_build_circuit_error(self):
        """
        tests that we check the callback properly
        """

        try:
            self.state._find_circuit_after_extend("FOO 1234")
            self.assertTrue(False)
        except __HOLE__, e:
            self.assertTrue('Expected EXTENDED' in str(e))
dataset/ETHPy150Open meejah/txtorcon/test/test_torstate.py/StateTests.test_build_circuit_error