'Test the waiting for a signature request'

@blocking_call_on_reactor_thread
@inlineCallbacks
def test_wait_for_signature_request(self):

    (node,) = (yield self.create_nodes(1))
    deferred = node.community.wait_for_signature_request('a')
    node.community.expected_sig_requests['a'].callback(None)
    (yield deferred)
