'Test blockingCallFromThread facility: create a thread, call a function
in the reactor using L{threads.blockingCallFromThread}, and verify the
result returned.'

def test_blockingCallFromThread(self):

    def reactorFunc():
        return defer.succeed('foo')
    def cb(res):
        self.assertEqual(res[0][0], 'foo')
    return self._testBlockingCallFromThread(reactorFunc).addCallback(cb)
